openerp-dev-web team mailing list archive
-
openerp-dev-web team
-
Mailing list archive
-
Message #07023
Re: [Merge] lp:~openerp-dev/openobject-addons/trunk-bug-782168-uco into lp:openobject-addons
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.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-782168-uco/+merge/61537
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bug-782168-uco.
References