Error Orden de Produccion

Bug #1340375 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 "Calcular datos" de la orden de producción se presenta el siguiente error:

Last revision No. & ID :1953 launchpad_translations_on_behalf_of_openerp-20120628045540-0hqfoawv6pkdsy8a
Traceback (most recent call last):
  File "/opt/devErp/openerp-server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/opt/devErp/openerp-server/bin/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/opt/devErp/openerp-server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/devErp/openerp-server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/devErp/openerp-server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/devErp/modules/mrp_master_extension/mrp_production.py", line 604, in action_compute
    'estimated': aux.amount
  File "/opt/devErp/modules/mrp_analytics_control/production.py", line 476, in create
    'company_in': prod.company_id.id,
NameError: global name 'prod' is not defined

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

Aplicado parche, gracias Javier!

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.