Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qty is zero and salable is zero and product in stock in admin #37786

Closed
5 tasks done
salah11172 opened this issue Jul 21, 2023 · 28 comments
Closed
5 tasks done

qty is zero and salable is zero and product in stock in admin #37786

salah11172 opened this issue Jul 21, 2023 · 28 comments
Assignees
Labels
Area: Admin UI Component: Stock Issue: needs update Additional information is require, waiting for response Reported on 2.4.5 Indicates original Magento version for the Issue report. Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch

Comments

@salah11172
Copy link

Preconditions and environment

  • Magento version
  • Anything else that would help a developer reproduce the bug
    2.4.5

Steps to reproduce

1-place order to product have qty =1
2- and complete order
3-the qty and salable will be zero and in admin in product page still show in stock

Expected result

Expected product out of stock if salable qty is zero
Screenshot from 2023-07-22 00-10-17

Actual result

product show in stock flag

Additional information

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
@m2-assistant
Copy link

m2-assistant bot commented Jul 21, 2023

Hi @salah11172. Thank you for your report.
To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:


Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
🕙 You can find the schedule on the Magento Community Calendar page.
📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

@m2-assistant
Copy link

m2-assistant bot commented Jul 22, 2023

Hi @engcom-Bravo. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
  • 3. Add Area: XXXXX label to the ticket, indicating the functional areas it may be related to.
  • 4. Verify that the issue is reproducible on 2.4-develop branch
    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
  • 5. Add label Issue: Confirmed once verification is complete.
  • 6. Make sure that automatic system confirms that report has been added to the backlog.

@engcom-Bravo engcom-Bravo added the Reported on 2.4.5 Indicates original Magento version for the Issue report. label Jul 22, 2023
@FadedOut
Copy link

@salah11172 This is a long-time issue (years) and requires modification of a file. Who knows if it will ever properly be fixed. It was supposed to be fixed in 2.4.6 but nope, still broken. Supposedly it's fixed in 2.4.7-beta but will probably be broken again by actual release of 2.4.7. This is usual of Magento. And they'll tell you to put your live production server on a beta build (2.4.7-beta) to get the fix instead of just pushing the fix to everyone. Terrible.

For the community fix if you want to have it working properly for now you could modify the file as noted in my ticket here: #35319 (comment) by another member. Make sure to make a backup of the original file before modifying just in case if you make a mistake modifying the file. But the fix does work, I used it since 2.4.4 up to 2.4.6-p1.

@m2-assistant
Copy link

m2-assistant bot commented Jul 24, 2023

Hi @engcom-Dash. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

    1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
    1. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
    1. Add Area: XXXXX label to the ticket, indicating the functional areas it may be related to.
    1. Verify that the issue is reproducible on 2.4-develop branch
      Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
      - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
      - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

@engcom-Dash
Copy link
Contributor

@magento give me 2.4-develop instance

@magento-deployment-service
Copy link

Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you.

@magento-deployment-service
Copy link

@engcom-Dash
Copy link
Contributor

Hi @salah11172 ,

verified the issue in 2.4-develop instance and the issue is not reproducible,Kindly refer the screenshots.

Steps to reproduce:
1.Place the order with 1 saleable quantity and complete the order

Screenshot 2023-07-26 at 7 13 49 AM Screenshot 2023-07-26 at 7 14 34 AM Screenshot 2023-07-26 at 7 14 53 AM Screenshot 2023-07-26 at 7 18 00 AM

Product out of stock if saleable qty is zero.

Thanks!

@engcom-Dash
Copy link
Contributor

@magento give me 2.4-develop instance

@magento-deployment-service
Copy link

Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you.

@magento-deployment-service
Copy link

@salah11172
Copy link
Author

I mean stock status dropdwon in product page in admin
if quantity and salable quantity equal zero
the stock status is still in stock

Please be honest with us and with yourselves
This problem exists and has been encountered by many people
This is not the correct solution to pretend that there is no problem and try to hide it

@engcom-Dash
Copy link
Contributor

@magento give me 2.4-develop instance

@magento-deployment-service
Copy link

Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you.

@magento-deployment-service
Copy link

@salah11172
Copy link
Author

salah11172 commented Jul 26, 2023

okay
steps :
1-in this product (sku=24-MB03) make qty =1 and assign source (source= new)
2- from admin placed order (incerment_id=#4) [salable qty become zero]
2-then complete order steps to make it complete [qty become zero ]
in admin in product page Source Item Status still inStock

@engcom-Dash engcom-Dash added the Issue: needs update Additional information is require, waiting for response label Jul 27, 2023
@m2-community-project m2-community-project bot removed the Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed label Aug 9, 2023
@m2-community-project m2-community-project bot added the Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed label Aug 9, 2023
@engcom-Dash engcom-Dash removed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Area: Product labels Aug 9, 2023
@engcom-Dash engcom-Dash added Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed and removed Issue: ready for confirmation labels Aug 9, 2023
@github-jira-sync-bot
Copy link

✅ Jira issue https://jira.corp.adobe.com/browse/AC-9291 is successfully created for this GitHub issue.

@m2-assistant
Copy link

m2-assistant bot commented Aug 9, 2023

✅ Confirmed by @engcom-Dash. Thank you for verifying the issue.
Issue Available: @engcom-Dash, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

@github-jira-sync-bot
Copy link

❌ You don't have permission to export this issue.

@github-jira-sync-bot
Copy link

❌ Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.adobe.com/browse/AC-9291

@engcom-Dash engcom-Dash added Issue: needs update Additional information is require, waiting for response and removed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed labels Aug 9, 2023
@engcom-Dash
Copy link
Contributor

@salah11172 ,

As per internal discussion,Again we are working on this issue and we moved this issue as Needs update.

Thanks.

@engcom-Dash engcom-Dash self-assigned this Aug 10, 2023
@engcom-Dash
Copy link
Contributor

engcom-Dash commented Aug 10, 2023

@salah11172 ,

Verified the issue in 2.4-develop instance and the issue is not reproducible.
As per DevDocs By default stock status should be In Stock only...We need to set the Source stock status in backend when products goes to out of stock.

Thanks.

@salah11172
Copy link
Author

no hope

@engcom-Dash
Copy link
Contributor

Hi @salah11172 ,

By default stock status should be In Stock only...We need to set the Source stock status in backend when products goes to out of stock.
Kindly refer the below screenshots:
Screenshot 2023-08-18 at 4 07 25 PM

Thanks.

@engcom-Dash
Copy link
Contributor

Hi @salah11172 ,

We have noticed that this issue has not been updated since long time.
Hence we assume that this issue is fixed now, so we are closing it. Please feel to raise a fresh ticket or reopen this ticket if you need more assistance on this.

Thanks.

@serzhik
Copy link
Contributor

serzhik commented Feb 8, 2024

This ticket duplicates magento/inventory#3062

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Admin UI Component: Stock Issue: needs update Additional information is require, waiting for response Reported on 2.4.5 Indicates original Magento version for the Issue report. Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch
Projects
None yet
Development

No branches or pull requests

7 participants