← Back to team overview

openerp-dev-web team mailing list archive

Re: [Merge] lp:~openerp-dev/openobject-addons/trunk-bug-776983-ron into lp:openobject-addons

 

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.


References