sale-workflow icon indicating copy to clipboard operation
sale-workflow copied to clipboard

[REF] sale_order_type: compute of pricelist and payment_terms

Open matiasperalta1 opened this issue 2 years ago • 2 comments

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.

matiasperalta1 avatar Mar 15 '24 17:03 matiasperalta1

Same comment as https://github.com/OCA/sale-workflow/pull/3046#issuecomment-2056508201

rousseldenis avatar Apr 15 '24 11:04 rousseldenis