showing error when click on confrm after selectiong consume and produce
File "/home/orchid/OpenERP/v7/addons/mrp/mrp.py", line 818, in action_produce
wf_service.trg_validate(uid, 'mrp.production', production_id, 'button_produce_done', cr)
File "/home/orchid/OpenERP/v7/server/openerp/workflow/wkf_service.py", line 119, in trg_validate
res2 = instance.validate(cr, id, ident, signal)
File "/home/orchid/OpenERP/v7/server/openerp/workflow/instance.py", line 43, in validate
workitem.process(cr, witem, ident, signal, force_running, stack=stack)
File "/home/orchid/OpenERP/v7/server/openerp/workflow/workitem.py", line 60, in process
ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
File "/home/orchid/OpenERP/v7/server/openerp/workflow/workitem.py", line 175, in _split_test
_join_test(cr, t[0], t[1], ident, stack)
File "/home/orchid/OpenERP/v7/server/openerp/workflow/workitem.py", line 183, in _join_test
create(cr,[activity], inst_id, ident, stack)
File "/home/orchid/OpenERP/v7/server/openerp/workflow/workitem.py", line 40, in create
process(cr, res, ident, stack=stack)
File "/home/orchid/OpenERP/v7/server/openerp/workflow/workitem.py", line 52, in process
result = _execute(cr, workitem, activity, ident, stack)
File "/home/orchid/OpenERP/v7/server/openerp/workflow/workitem.py", line 106, in _execute
returned_action = wkf_expr.execute(cr, ident, workitem, activity)
File "/home/orchid/OpenERP/v7/server/openerp/workflow/wkf_expr.py", line 67, in execute
return _eval_expr(cr, ident, workitem, activity['action'])
File "/home/orchid/OpenERP/v7/server/openerp/workflow/wkf_expr.py", line 57, in _eval_expr
ret = eval(line, env, nocopy=True)
File "/home/orchid/OpenERP/v7/server/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/home/orchid/OpenERP/v7/server/openerp/osv/orm.py", line 377, in function_proxy
return attr(self._cr, self._uid, [self._id], *args, **kwargs)
File "/home/orchid/OpenERP/custom/mrp_product_cost_calculation/mrp_production.py", line 28, in action_production_end
write_res = super(mrp_production, self).action_production_end(cr, uid, ids, context)
TypeError: action_production_end() takes exactly 4 arguments (5 given)
In file 'mrp_production.py' raw #28 has to be changed to this: production, self).action_ production_ end(cr, uid, ids)'
'write_res = super(mrp_
I'm not quite sure if I'm right, but this solution worked for me.