Monday, June 8, 2020
1 change · master
Resolved issues and error corrections
This fix prevents lines from a confirmed purchase order from being reassigned to another purchase order through backend or remote calls. It helps keep confirmed purchase orders accurate and avoids inconsistencies in purchasing records.
Original PR description
Description of the issue/feature this PR addresses:
- Create a purchase order A with two line A1,A2
- Confirme A
- Create a purchase order B with no line
- execute self.env['purchase.order.line'].browse(A1,A2).write({'order_id':B}) (or by RPC)
--> Issue now A1,A2 are in an other purchase order
@mart-e
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr