Code review comment for lp:~openerp-dev/openobject-addons/trunk-bug-782168-uco

Revision history for this message
Graeme Gellatly (gdgellatly) wrote :

Hi,

I am so glad you went this way to fixing it, much more sensible, enforcing one pricelist per order.

However, there is a major bug in your code. What if the user changed the price manually? You will overwrite all his manual changes. I think you would be better implementing this in an onchange pricelist function.

« Back to merge proposal