← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 711923] Re: warning in a db without demo data

 

Hello Aline,

I have tested as your description but I am not getting any problem or warning like your Traceback.
Its working fine at my end.

Can you check again with latest code ?

I have tested with latest code of all related branches as under,
trunk web : 4506,
trunk server : 3339,
trunk addons : 4402.

Thanks.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/711923

Title:
  warning in a db without demo data

Status in OpenERP Web Client:
  Confirmed

Bug description:
  trunk, web, linux, firefox

  how to reproduce :

  - create a db without demo data
  - extended view
  - choose thes application 
      - sales
      - CRM
      - Invoicing
  - install generic chart of account and skip all other wizards

  Warning
  	Traceback (most recent call last): File "/home/aline/openerp/trunk/server/bin/netsvc.py", line 489, in dispatch result = ExportService.getService(service_name).dispatch(method, auth, params) File "/home/aline/openerp/trunk/server/bin/service/web_services.py", line 599, in dispatch res = fn(db, uid, *params) File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 122, in wrapper return f(self, dbname, *args, **kwargs) File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 176, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 167, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 2922, in read result = self._read_flat(cr, user, select, fields, context, load) File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 3033, in _read_flat res2 = self._columns[val[0]].get(cr, self, ids, val, user, context=context, values=res) File "/home/aline/openerp/trunk/server/bin/osv/fields.py", line 793, in get res = self._fnct(obj, cr, user, ids, name, self._arg, context) File "/home/aline/openerp/trunk/server/bin/osv/fields.py", line 1060, in _fnct_read res[prop.res_id.id][prop.fields_id.name] = value or False KeyError: False





References