forked from odoo/odoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] purchase_stock: ignore the receipt of returned qty
In some cases, the received qty of the POL is incorrect To reproduce the issue: 1. Create and confirm a PO 2. Receive the product 3. Return the product: - Update quantities on SO/PO: False 4. Receive again ("return the return"): - Update quantities on SO/PO: False 5. Open the PO Error: The received qty of the POL is incorrect, it includes the second receipt The second receipt is processed as a classic receipt, so we simply add the done qty of the SM to the received qty of the POL. We have to improve the conditions. OPW-3483449 closes odoo#139140 X-original-commit: 4067bd6 Signed-off-by: Tiffany Chang (tic) <[email protected]> Signed-off-by: Adrien Widart (awt) <[email protected]>
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters