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

No inventory decrement on sell if using default fulfillment center defined for store #98

Open
JoseCaetanoNeto opened this issue Oct 3, 2021 · 3 comments
Assignees

Comments

@JoseCaetanoNeto
Copy link

Please provide detailed information about your issue, thank you!

Version info:

  • Browser version: Microsoft Edge 94.0.992.31
  • Platform version: 3.82.0
  • Module version: 3.19.0

Expected behavior

  • inventory decrement on sell

Actual behavior

  • no inventory decrement on sell if using default fulfillment center defined for store

Steps to reproduce

  1. Sell item on frontend
  2. check inventory count in backend
  3. count is the same

The problem is occur by change in GetProductsInventoryInfosAsync in version 3.19, and the vc-module-order use the method in AdjustInventoryOrderChangedEventHandler.

The original code, makes the filter in the Inventories table using the "Sku" field in the database, but in the migration do generic CRUD the filter is wrong.

image

@mvktsk
Copy link
Contributor

mvktsk commented Oct 3, 2021

Task https://virtocommerce.atlassian.net/browse/VP-7769 has been created

@OlegoO OlegoO self-assigned this Oct 4, 2021
@OlegoO
Copy link
Contributor

OlegoO commented Oct 4, 2021

@JoseCaetanoNeto I reproduced and forwarded to dev team. Should be fixed with the highest priority.

@dvvkgd
Copy link

dvvkgd commented Oct 6, 2021

@JoseCaetanoNeto
Bug fixed. Release: vc-module-inventory 3.20.0
https://github.com/VirtoCommerce/vc-module-inventory/releases/tag/3.20.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants