Odoo Help


'No such external ID currently defined in the system: %s.%s' % (module, xml_id)

on 7/28/13, 1:54 PM 3,184 views

hi guys!! i got the following when i try to install a new module :

 Client Traceback (most recent call last):
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/addons/web/common/http.py", line 180, in dispatch
        response["result"] = method(controller, self, **self.params)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/addons/web/controllers/main.py", line 498, in authenticate
        req.session.authenticate(db, login, password, env)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/addons/web/common/session.py", line 73, in authenticate
        uid = self.proxy('common').authenticate(db, login, password, env)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
        result = self.connector.send(self.service_name, method, *args)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/addons/web/common/http.py", line 608, in send
        raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)

    Server Traceback (most recent call last):
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/addons/web/common/http.py", line 593, in send
        return openerp.netsvc.dispatch_rpc(service_name, method, args)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/netsvc.py", line 360, in dispatch_rpc
        result = ExportService.getService(service_name).dispatch(method, params)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/service/web_services.py", line 397, in dispatch
        return fn(*params)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/service/web_services.py", line 408, in exp_authenticate
        res_users = pooler.get_pool(db).get('res.users')
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/pooler.py", line 50, in get_pool
        return get_db_and_pool(db_name, force_demo, status, update_module)[1]
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/pooler.py", line 33, in get_db_and_pool
        registry = RegistryManager.get(db_name, force_demo, status, update_module, pooljobs)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/modules/registry.py", line 180, in get
        update_module, pooljobs)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/modules/registry.py", line 202, in new
        openerp.modules.load_modules(registry.db, force_demo, status, update_module)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/modules/loading.py", line 334, in load_modules
        processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/modules/loading.py", line 253, in load_marked_modules
        loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/modules/loading.py", line 192, in load_module_graph
        load_update_xml(module_name, idref, mode)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/modules/loading.py", line 90, in <lambda>
        load_update_xml = lambda *args: _load_data(cr, *args, kind='update_xml')
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/modules/loading.py", line 138, in _load_data
        tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/tools/convert.py", line 998, in convert_xml_import
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/tools/convert.py", line 890, in parse
        self._tags[rec.tag](self.cr, rec, n)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/tools/convert.py", line 850, in _tag_record
        f_val = _eval_xml(self,field, self.pool, cr, self.uid, self.idref)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/tools/convert.py", line 154, in _eval_xml
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/tools/convert.py", line 148, in _process
        idref[id]=self.id_get(cr, id)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/tools/convert.py", line 867, in id_get
        res = self.model_id_get(cr, id_str)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/tools/convert.py", line 876, in model_id_get
        return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/tools/cache.py", line 18, in lookup
        r = self.lookup(self2, cr, *args)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/tools/cache.py", line 46, in lookup
        value = d[key] = self.method(self2, cr, *args)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/addons/base/ir/ir_model.py", line 654, in get_object_reference
        data_id = self._get_id(cr, uid, module, xml_id)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/tools/cache.py", line 18, in lookup
        r = self.lookup(self2, cr, *args)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/tools/cache.py", line 46, in lookup
        value = d[key] = self.method(self2, cr, *args)
      File "/opt/openerp/openerp-6.1-20130508-233409/openerp/addons/base/ir/ir_model.py", line 647, 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: reclam.

reclam is the name of my module

please help me!!

Where is this "reclam." exactly in your code? Can you post a snippet?

on 7/28/13, 2:32 PM

look last line !!

on 7/28/13, 3:08 PM

Does the module you try to install have inheritance in xml? If so, check that inherited id is prepended with module name, for example: Or it could be there really is no such id on the system (check for typing errors?)

on 7/28/13, 2:28 PM

Problem fixed! i forgot a wrong line in my module XML view !! thanks :)

on 7/29/13, 9:14 AM
Rogerio P Falcone
On 10/18/16, 12:31 PM

No such external ID currently defined in the system: base.res_partner_1

please help me

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: 7/28/13, 1:54 PM
Seen: 3184 times
Last updated: 10/18/16, 12:31 PM