[FIX] Pylint fixing <mrp_operations_extension>

This commit is contained in:
oihane
2014-11-13 11:18:43 +01:00
committed by Pedro M. Baeza
parent 7b35b00c51
commit e11627c21b

View File

@@ -22,9 +22,9 @@ from openerp import fields, models
class MrpWorkOrderProduce(models.TransientModel):
_name = "mrp.work.order.produce"
def default_get(self, cr, uid, fields, context=None):
def default_get(self, cr, uid, var_fields, context=None):
a = super(MrpWorkOrderProduce, self).default_get(
cr, uid, fields, context=context)
cr, uid, var_fields, context=context)
work = self.pool['mrp.production.workcenter.line'].browse(
cr, uid, context.get('active_ids'), context=context)[0]
a.update({'final_product': work.do_production})