creating a sales order and want to save the header record.

Bug #552464 reported by Stephane Wirtel (OpenERP)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Low
Unassigned

Bug Description

Traceback (most recent call last):
  File "/mnt/openerp/server/bin/netsvc.py", line 244, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/mnt/openerp/server/bin/netsvc.py", line 73, in __call__
    return getattr(self, method)(*params)
  File "/mnt/openerp/server/bin/addons/base_module_record/base_module_record.py", line 38, in execute
    res = super(recording_objects_proxy, self).execute(*args, **argv)
  File "/mnt/openerp/server/bin/addons/audittrail/audittrail.py", line 346, in execute
    res = my_fct(db, uid, passwd, object, method, *args)
  File "/mnt/openerp/server/bin/addons/audittrail/audittrail.py", line 331, in my_fct
    return fct_src(db, uid, passwd, object, method, *args)
  File "/mnt/openerp/server/bin/addons/use_control/services.py", line 72, in execute
    return super(recording_objects_proxy, self).execute(db, uid, passwd, object, method, *args)
  File "/mnt/openerp/server/bin/service/web_services.py", line 579, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/mnt/openerp/server/bin/osv/osv.py", line 61, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/mnt/openerp/server/bin/osv/osv.py", line 120, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/mnt/openerp/server/bin/osv/osv.py", line 112, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/mnt/openerp/server/bin/addons/sale/sale.py", line 346, in create
    return super(sale_order, self).create(cr, uid, vals, context=context)
  File "/mnt/openerp/server/bin/osv/orm.py", line 2788, in create
    result += self._columns[field].set(cr, self, id_new, field, vals[field], user, rel_context) or []
  File "/mnt/openerp/server/bin/osv/fields.py", line 444, in set
    if act[0] == 0:
KeyError: 0

Changed in openobject-addons:
milestone: 5.0.9 → 5.0.10
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Tell us how you met the error?
Thanks.

Changed in openobject-addons:
status: New → Incomplete
Changed in openobject-addons:
status: Incomplete → Invalid
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.