Odoo Help


ValueError: No such external ID currently defined in the system

Anindya Das
on 5/15/14, 2:21 AM 715 views

OpenERP Server Error

Client Traceback (most recent call last): File "D:\openerp-7.0\openerp\addons\web\http.py", line 204, in dispatch response["result"] = method(self, **self.params) File "D:\openerp-7.0\openerp\addons\web\controllers\main.py", line 1132, in call_button action = self._call_kw(req, model, method, args, {}) File "D:\openerp-7.0\openerp\addons\web\controllers\main.py", line 1120, in _call_kw return getattr(req.session.model(model), method)(*args, **kwargs) File "D:\openerp-7.0\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 "D:\openerp-7.0\openerp\addons\web\session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, *args) File "D:\openerp-7.0\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 "D:\openerp-7.0\openerp\addons\web\session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "D:\openerp-7.0\openerp\netsvc.py", line 296, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "D:\openerp-7.0\openerp\service\web_services.py", line 626, in dispatch res = fn(db, uid, *params) File "D:\openerp-7.0\openerp\osv\osv.py", line 190, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {}) File "D:\openerp-7.0\openerp\osv\osv.py", line 132, in wrapper return f(self, dbname, *args, **kwargs) File "D:\openerp-7.0\openerp\osv\osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "D:\openerp-7.0\openerp\osv\osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "D:\openerp-7.0\openerp\addons\base\module\module.py", line 424, in button_immediate_install return self._button_immediate_function(cr, uid, ids, self.button_install, context=context) File "D:\openerp-7.0\openerp\addons\base\module\module.py", line 475, in _button_immediate_function _, pool = pooler.restart_pool(cr.dbname, update_module=True) File "D:\openerp-7.0\openerp\pooler.py", line 39, in restart_pool registry = RegistryManager.new(db_name, force_demo, status, update_module) File "D:\openerp-7.0\openerp\modules\registry.py", line 233, in new openerp.modules.load_modules(registry.db, force_demo, status, update_module) File "D:\openerp-7.0\openerp\modules\loading.py", line 354, in load_modules loaded_modules, update_module) File "D:\openerp-7.0\openerp\modules\loading.py", line 256, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "D:\openerp-7.0\openerp\modules\loading.py", line 188, in load_module_graph load_data(module_name, idref, mode) File "D:\openerp-7.0\openerp\modules\loading.py", line 76, in <lambda> load_data = lambda *args: _load_data(cr, *args, kind='data') File "D:\openerp-7.0\openerp\modules\loading.py", line 124, in _load_data tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report) File "D:\openerp-7.0\openerp\tools\convert.py", line 954, in convert_xml_import obj.parse(doc.getroot()) File "D:\openerp-7.0\openerp\tools\convert.py", line 847, in parse self._tags[rec.tag](self.cr, rec, n) File "D:\openerp-7.0\openerp\tools\convert.py", line 805, in _tag_record f_val = self.id_get(cr, f_ref) File "D:\openerp-7.0\openerp\tools\convert.py", line 824, in id_get res = self.model_id_get(cr, id_str) File "D:\openerp-7.0\openerp\tools\convert.py", line 833, in model_id_get return model_data_obj.get_object_reference(cr, self.uid, mod, id_str) File "D:\openerp-7.0\openerp\tools\cache.py", line 18, in lookup r = self.lookup(self2, cr, *args) File "D:\openerp-7.0\openerp\tools\cache.py", line 46, in lookup value = d[key] = self.method(self2, cr, *args) File "D:\openerp-7.0\openerp\addons\base\ir\ir_model.py", line 874, in get_object_reference data_id = self._get_id(cr, uid, module, xml_id) File "D:\openerp-7.0\openerp\tools\cache.py", line 18, in lookup r = self.lookup(self2, cr, *args) File "D:\openerp-7.0\openerp\tools\cache.py", line 46, in lookup value = d[key] = self.method(self2, cr, *args) File "D:\openerp-7.0\openerp\addons\base\ir\ir_model.py", line 867, 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: oemedical.oemedical_patient_view .

i m getting above error to install oemedical_invoice module...............plz help me !!!!!!!!

Ahmed elbarbary
On 8/13/14, 6:46 AM

i have the same error do u find any solution

Any solution yet..

on 2/27/15, 2:06 AM

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 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

1 follower(s)


Asked: 5/15/14, 2:21 AM
Seen: 715 times
Last updated: 3/16/15, 8:10 AM