From e11627c21b81057c19cecb48308c36008793e6b9 Mon Sep 17 00:00:00 2001 From: oihane Date: Thu, 13 Nov 2014 11:18:43 +0100 Subject: [PATCH] [FIX] Pylint fixing --- mrp_operations_extension/wizard/mrp_product_produce.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mrp_operations_extension/wizard/mrp_product_produce.py b/mrp_operations_extension/wizard/mrp_product_produce.py index 2c08e9fba..4a0db7319 100644 --- a/mrp_operations_extension/wizard/mrp_product_produce.py +++ b/mrp_operations_extension/wizard/mrp_product_produce.py @@ -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})