openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #12997
[Bug 926479] Re: Not able to install modules No such external ID currently defined in the system: product.product_consultan
*** This bug is a duplicate of bug 877495 ***
https://bugs.launchpad.net/bugs/877495
** This bug has been marked a duplicate of bug 877495
set up your invoicing method
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/926479
Title:
Not able to install modules No such external ID currently defined in
the system: product.product_consultan
Status in OpenERP Addons (modules):
Confirmed
Bug description:
I installed 6.1rc1 using demo-data and it worked just fine.
After that I created a new database and wanted to install the shown modules one after the other, this time without the demo data.
After installing the first 5 modules, I would not be able to install any more modules any more, because the routine would crash with the following statements:
OpenERP Server Error
Client Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/addons/web/common/http.py", line 175, in dispatch
response["result"] = method(controller, self, **self.params)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/addons/web/controllers/main.py", line 850, in call_button
action = self.call_common(req, model, method, args, domain_id, context_id)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/addons/web/controllers/main.py", line 842, in call_common
return getattr(req.session.model(model), method)(*args)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/addons/web/common/openerplib/main.py", line 430, in proxy
*args)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/addons/web/common/openerplib/main.py", line 306, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/addons/web/common/openerplib/main.py", line 276, in send
raise fault
Server Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/addons/web/common/openerplib/main.py", line 257, in send
result = openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/netsvc.py", line 325, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/service/web_services.py", line 580, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
_db, pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/pooler.py", line 39, in restart_pool
registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/modules/registry.py", line 160, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/modules/loading.py", line 339, in load_modules
processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/modules/loading.py", line 254, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/modules/loading.py", line 192, in load_module_graph
load_init_xml(module_name, idref, mode)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/modules/loading.py", line 91, in <lambda>
load_init_xml = lambda *args: _load_data(cr, *args, kind='init_xml')
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/modules/loading.py", line 140, in _load_data
tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/tools/convert.py", line 999, in convert_xml_import
obj.parse(doc.getroot())
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/tools/convert.py", line 889, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/tools/convert.py", line 847, in _tag_record
f_val = self.id_get(cr, f_ref)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/tools/convert.py", line 866, in id_get
res = self.model_id_get(cr, id_str)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/tools/convert.py", line 875, in model_id_get
return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/tools/cache.py", line 18, in lookup
r = self.lookup(self2, cr, *args)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/tools/cache.py", line 46, in lookup
value = d[args] = self.method(self2, cr, *args)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/addons/base/ir/ir_model.py", line 642, in get_object_reference
data_id = self._get_id(cr, uid, module, xml_id)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/tools/cache.py", line 18, in lookup
r = self.lookup(self2, cr, *args)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/tools/cache.py", line 46, in lookup
value = d[args] = self.method(self2, cr, *args)
File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev_20120102_020001-py2.7.egg/openerp/addons/base/ir/ir_model.py", line 635, 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: product.product_consultant
Thanks in advance and keep up the good work.
Best regards,
Josh
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/926479/+subscriptions
References