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: return subcontracted product
- Create a product P with a subcontracted BOM - Create a PO for P, 10 units - Receive 10 units - Return 3 units and specify 'To Refund' 13 units are considered received. The reason is that we don't return to a vendor location, but an internal location. We subtract the quantity when the following conditions are met: - we ask for a refund - we return to an internal location - the return location is not in the warehouse of the move The solution is similar to odoo/enterprise#9647 opw-2235157 closes odoo#50119 X-original-commit: 5fd6c5b Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
- Loading branch information