← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 611467] Re: O2M : default value handling error

 

** Also affects: openobject-client-web/trunk
   Importance: High
       Status: Confirmed

-- 
O2M : default value handling error
https://bugs.launchpad.net/bugs/611467
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.

Status in OpenObject Web Client: Confirmed
Status in OpenObject Web Client trunk series: Confirmed

Bug description:
Ubuntu 10.04

openobject-server from trunk
openobject-addons from trunk
openobject-client-web from trunk-dev-web

Create database (demo data: No, Language: French)
Select interface: Extended
Generic modules : uncheck CRM; check Financial & Accounting
Company name : Test; Currency: CAD

Configuration steps stop here (!?)

Click on Administration > Configuration Wizards > Configuration Wizards

SÉQUENCE	ACTION	ÉTAT		
		 1	 Select Your Interface	 Terminé		
		 2	 Base Setup Modules Installation	 Terminé		
		 3	 Setup company information	 Terminé		
		 3	 Accounting Modules Installation	 To Do
		 10	 Create Users	 Terminé		

Click on the icon to start the accounting modules wizard
Leave the option as is with the Generic Chart of Accounts
Click Configure

Error message :

Traceback (most recent call last):
  File "/home/max/openerp/openobject-server/bin/netsvc.py", line 401, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/max/openerp/openobject-server/bin/service/web_services.py", line 584, in dispatch
    res = fn(db, uid, *params)
  File "/home/max/openerp/openobject-server/bin/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/max/openerp/openobject-server/bin/osv/osv.py", line 133, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/max/openerp/openobject-server/bin/osv/osv.py", line 123, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/max/openerp/openobject-server/bin/osv/orm.py", line 1865, in create
    self._columns[field].set_memory(cr, self, id_new, field, vals[field], user, context)
  File "/home/max/openerp/openobject-server/bin/osv/fields.py", line 404, in set_memory
    if act[0] == 0:
KeyError: 0