[Fix]MRP:Code Optimize

lp bug: https://launchpad.net/bugs/764281 fixed

bzr revid: aag@tinyerp.co.in-20110420114343-7qu7rws1y72wrhte
This commit is contained in:
aag (OpenERP)
2011-04-20 17:13:43 +05:30
parent 784c578274
commit fa1b3c285b
-1
View File
@@ -235,7 +235,6 @@ class mrp_production(osv.osv):
""" Finishes work order if production order is done.
@return: Super method
"""
work_obj = self.pool.get('mrp.production.workcenter.line')
obj = self.browse(cr, uid, ids)[0]
wf_service = netsvc.LocalService("workflow")
for workcenter_line in obj.workcenter_lines: