Odoo Help


Errors with demo data.

on 2/10/13, 2:00 PM 1,737 views

Hi guys, now finaly I have succeeded to install OERP, i can acces the gui all working fine, I have installed all modules, and the install was done with demo content. No I'm getting errors while trying to remove some demo items for example demo messages, if i try to delete it I'm getting the eroor below :

OpenERP Server Error

Client Traceback (most recent call last):
  File "/opt/openerp/openerp7/openerp/addons/web/http.py", line 195, in dispatch
    response["result"] = method(self, **self.params)
  File "/opt/openerp/openerp7/openerp/addons/web/controllers/main.py", line 1083, in call_button
    action = self._call_kw(req, model, method, args, {})
  File "/opt/openerp/openerp7/openerp/addons/web/controllers/main.py", line 1071, in _call_kw
    return getattr(req.session.model(model), method)(*args, **kwargs)
  File "/opt/openerp/openerp7/openerp/addons/web/session.py", line 43, in proxy
    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
  File "/opt/openerp/openerp7/openerp/addons/web/session.py", line 31, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/opt/openerp/openerp7/openerp/addons/web/session.py", line 104, in send
    raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last):
  File "/opt/openerp/openerp7/openerp/addons/web/session.py", line 90, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/opt/openerp/openerp7/openerp/netsvc.py", line 295, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openerp/openerp7/openerp/service/web_services.py", line 614, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/openerp7/openerp/osv/osv.py", line 169, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/opt/openerp/openerp7/openerp/osv/osv.py", line 123, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openerp/openerp7/openerp/osv/osv.py", line 179, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openerp/openerp7/openerp/osv/osv.py", line 166, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/openerp/openerp7/openerp/addons/crm/crm_lead.py", line 415, in case_cancel
    res = super(crm_lead, self).case_cancel(cr, uid, ids, context=context)
  File "/opt/openerp/openerp7/openerp/addons/base_status/base_stage.py", line 230, in case_cancel
    return self.case_set(cr, uid, ids, 'cancel', {'active': True}, context=context)
  File "/opt/openerp/openerp7/openerp/addons/base_status/base_stage.py", line 258, in case_set
    self.stage_set_with_state_name(cr, uid, cases, new_state_name, context=context)
  File "/opt/openerp/openerp7/openerp/addons/base_status/base_stage.py", line 139, in stage_set_with_state_name
    stage_id = self.stage_find(cr, uid, [case], None, [('state', '=', state_name)], context=context)
  File "/opt/openerp/openerp7/openerp/addons/crm/crm_lead.py", line 391, in stage_find
    if lead.section_id:
  File "/opt/openerp/openerp7/openerp/osv/orm.py", line 486, in __getattr__
    raise AttributeError(e)

AttributeError: 'Field sectionid not found in browserecord(crm.lead, 18)'

and also another quiestion for more experianced users :) is there a way to delete all demo content fast without going in on one by one in eacht item ?

thanks in advance.

If you select the text of your error messages and click the "code" button of the editor, it makes it much easier to read. Indenting each line 4 spaces has the same effect.

on 2/10/13, 2:16 PM

sorry :) didnot know about that option :) done

on 2/10/13, 2:23 PM

Ok, so said so done, have dropped the database, and recreated all from 0.

looks good :) thanks.

on 2/10/13, 4:15 PM

The best you can do, is to create a new database without the demo data...

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 2/10/13, 2:00 PM
Seen: 1737 times
Last updated: 3/16/15, 8:10 AM