OCA/product-variant

[11.0] sale_order_variant_mgmt not using price or discount from pricelist

Closed this issue · 3 comments

when adding products to sale order with a different price or a discount defined in a price list, this price is not used but only the standard price

You can see in this line:

That the same behavior that you get adding the line by hand in UI is mimicked here, and certainly I'm using the module without the problem you mention.

Maybe some kind of custom module? Any way, closing as no valid.

As far as I can tell, you're right if the discount policy is "Discount included in the price", then the price defined in the price list is used. But if the discount policy is "Show public price & discount to the customer" the relevant discount percentage is not added to the line, only the price! How are you using the module?

....and Happy New Year ;-) !

It's possible that there other involved onchange around the same field. Then you should fix it playing all the onchanges in the code I mention.