sale-workflow
sale-workflow copied to clipboard
[REF] sale_order_type: compute of pricelist and payment_terms
The error is when the payment term is set in the partner as well as pricelist. The case of replication by creating a quotation and introducing a partner with the payment term and pricelist set in its configuration. Then we manually change the payment term and pricelist to another. And finally we change the type of sale. Here we observe that the aforementioned fields are recomputed to those configured in the partner and this is an error. With this PR the error no longer persists since all cases are considered.
Same comment as https://github.com/OCA/sale-workflow/pull/3046#issuecomment-2056508201