Review: Needs Fixing
1) combine to for loops into one
   for id in ids:
   for line in self.browse(cr, uid, ids, context=context):

2) use "for record in line.order_line:" only if line is shipped, otherwise it 
will loop useless for all purchase lines
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-776983-ron/+merge/60140
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-776983-ron.

_______________________________________________
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