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. _______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-web Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-dev-web More help : https://help.launchpad.net/ListHelp

