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.

0

I am getting an ERROR while working on ERP

By
Amol Gangajaliwale
on 12/10/13, 4:35 AM 826 views
Client Traceback (most recent call last):
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/addons/web/http.py", line 204, in dispatch
    response["result"] = method(self, **self.params)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/addons/web/controllers/main.py", line 1040, in load_needaction
    return req.session.model('ir.ui.menu').get_needaction_data(menu_ids, req.context)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/addons/web/session.py", line 42, in proxy
    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/addons/web/session.py", line 30, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/addons/web/session.py", line 103, in send
    raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)


Server Traceback (most recent call last):
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/addons/web/session.py", line 89, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/netsvc.py", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/osv/osv.py", line 188, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/osv/osv.py", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/osv/osv.py", line 197, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/osv/osv.py", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/addons/base/ir/ir_ui_menu.py", line 322, in get_needaction_data
    model, id = model_data_obj.get_object_reference(cr, uid, menu_data.split('.')[0], menu_data.split('.')[1])
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/tools/cache.py", line 18, in lookup
    r = self.lookup(self2, cr, *args)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/tools/cache.py", line 46, in lookup
    value = d[key] = self.method(self2, cr, *args)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/addons/base/ir/ir_model.py", line 868, in get_object_reference
    data_id = self._get_id(cr, uid, module, xml_id)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/tools/cache.py", line 18, in lookup
    r = self.lookup(self2, cr, *args)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/tools/cache.py", line 46, in lookup
    value = d[key] = self.method(self2, cr, *args)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/addons/base/ir/ir_model.py", line 861, in _get_id
    raise ValueError('No such external ID currently defined in the system: %s.%s' % (module, xml_id))
ValueError: No such external ID currently defined in the system: sale.menu_sale_quotations
0

Hiral Patel (hip)

--Hiral Patel (hip)--
Tiny ERP Pvt Ltd
http://www.odoo.com
913
| 2 1 5
India
--Hiral Patel (hip)--


Hiral Patel (hip)
On 12/10/13, 4:54 AM

Hello Amol,

It seems that you have created custom module and in .xml file you have specified "parent="sale.menu_sale_quotations".

But you may not added 'sale' module in depends. Add following code in __openerp__.py file :

'depends': ['sale'],

Thanks.

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: 12/10/13, 4:35 AM
Seen: 826 times
Last updated: 3/16/15, 8:10 AM