Review: Needs Fixing
analytic = self.pool.get("account.analytic.line") => analytic_line_obj

i think we can write: analytic.write(cr, uid, line.id, {'to_invoice': toinv}) 
outside the for loop of "for line in move_obj.analytic_lines" by creating one 
list and append all the ids ...

And we have to make it work for also account_analytic_plan module.

thanks,
mra

-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-734497-pso/+merge/56538
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-734497-pso.

_______________________________________________
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

Reply via email to