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

stock_split_picking: splitting a delivery for a SO with an MTO draft purchase order linked breaks the PO quantity #1755

Open
gurneyalex opened this issue Nov 6, 2024 · 0 comments
Labels

Comments

@gurneyalex
Copy link
Member

Issue with stock_split_picking, at least in 17.0

For a product in MTO + buy, if I split the delivery of a sale order before the purchase order is confirmed, the purchased quantity is increased by the split off quantity.

Steps to reproduce the behavior:

  1. Create a product in MTO + buy, with a supplier
  2. Sell 100 units of the product, confirm the sale order
  3. Go to the delivery order, split 30 units off the 100 units delivery
  4. check the purchase order: the purchased qty is now 170.

Expected behavior

The purchase order has a quantity of 100

If the PO is confirmed before the split, then everything works fine.

@gurneyalex gurneyalex added the bug label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant