Error al pulsar el botón "Finalizado" de la orden de trabajo

Bug #1340396 reported by Javier Duran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenMRP
Fix Released
Undecided
Unassigned

Bug Description

OpenERP-Client Version : 6.0.4
OpenERP-Server Version: 6.0.4
branch nick: mrp6.0
revno: 247

Al pulsar el botón "Finalizado" de la orden de trabajo se presenta el siguiente error:

  File "/opt/devErp/modules/mrp_analytics_control/manufacturing_analitic_accounts.py", line 175, in action_done
    time_obj.input_real_worktime(cr, uid, ids, uid, delay, obj_line.mrp_manu_op.id, date_now, 'Work in '+str(obj_line.workcenter_id.name))
  File "/opt/devErp/modules/mrp_analytics_control/wizard/users.py", line 473, in input_real_worktime
    res = ops_us_obj.create(cr, uid, values)
  File "/opt/devErp/modules/mrp_analytics_control/mrp_ops_cost_ext.py", line 40, in create
    new_id = super(mrp_ops_cost, self).create(cr, uid, data, context)
  File "/opt/devErp/modules/mrp_manufacturing_cost/cost.py", line 70, in create
    op = aux_prod_op.browse(cr , uid, context['operation'])
KeyError: 'operation'

Related branches

Revision history for this message
Javier Duran (javieredm) wrote :
Revision history for this message
Daniel Campos (Avanzosc) (dani-ds) wrote :

Al final hemos aplicado otra solución al error. En la nueva actualización no debería darte ningún error.

Changed in openmrp:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.