I have reworked a bit the code. This also fixes a missing test on line.account_id when adding line.amount_currency. Quentin should review this one...
-- https://code.launchpad.net/~openerp-dev/openobject-addons/5.0-opw-7285-pso/+merge/76019 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/5.0-opw-7285-pso. _______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-gtk Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-dev-gtk More help : https://help.launchpad.net/ListHelp

