Review: Needs Fixing No need to create separate variable.
you can do like: 'analytic_account_id': voucher_brw.analytic_id and voucher_brw.analytic_id.id or False -- https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-893977-bde/+merge/83899 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bug-893977-bde. _______________________________________________ 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

