Odoo Help

Welcome!

This community 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.

1

Errors with demo data.

By
turalo
on 2/10/13, 2:00 PM 1,079 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.

Martin
on 2/10/13, 2:16 PM

sorry :) didnot know about that option :) done

turalo
on 2/10/13, 2:23 PM

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

looks good :) thanks.

turalo
on 2/10/13, 4:15 PM
2

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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