Error al finalizar una orden de trabajo

Bug #1337986 reported by Javier Duran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Avanzosc developments
Invalid
Undecided
Unassigned

Bug Description

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

Traceback (most recent call last):
  File "/opt/openerp/modules/mrp_analytics_control/manufacturing_analitic_accounts.py", line 174, 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/openerp/modules/mrp_analytics_control/wizard/users.py", line 470, in input_real_worktime
    res = ops_us_obj.create(cr, uid, values)
  File "/opt/openerp/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/openerp/modules/mrp_manufacturing_cost/cost.py", line 70, in create
    op = aux_prod_op.browse(cr , uid, context['operation'])
KeyError: 'operation'

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

Hola Javier, que rama estas usando para hacer las pruebas?

Changed in avanzosc:
status: New → Invalid
Revision history for this message
Javier Duran (javieredm) wrote :

Hola Daniel,

6.0

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

Entonces tienes que usar esta rama:

lp:openmrp/6.0

Un saludo!

Revision history for this message
Javier Duran (javieredm) wrote :

Ok, gracias. Ya lo pruebo.

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.