c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #17703
[Bug 624384] Re: [6.0] l10n_chart_us_general no references to account.account_type_root
Hello,
It's seems to happen also with the l10n_chart_us_manufacturing in Trunk
(6.0) :
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/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.6/dist-packages/openerp-server/pooler.py", line 60, in restart_pool
return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 883, in load_modules
processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 748, in load_module_graph
load_init_update_xml(cr, m, idref, mode, kind)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 641, in load_init_update_xml
tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 975, in convert_xml_import
obj.parse(doc.getroot())
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 865, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 824, in _tag_record
f_val = self.id_get(cr, f_ref)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 842, in id_get
res = self.model_id_get(cr, id_str)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 851, in model_id_get
return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/misc.py", line 823, in cached_result
result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/ir/ir_model.py", line 609, in get_object_reference
data_id = self._get_id(cr, uid, module, xml_id)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/misc.py", line 823, in cached_result
result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/ir/ir_model.py", line 602, in _get_id
raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to account.account_type_root
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/624384
Title:
[6.0] l10n_chart_us_general no references to account.account_type_root
Status in OpenERP Modules (addons):
Fix Released
Bug description:
When installing the l10n_chart_us_general module there is the following error:
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9000/netsvc.py", line 431, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9000/service/web_services.py", line 626, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9000/service/web_services.py", line 653, in exp_execute
return self._execute(db, uid, wiz_id, datas, action, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9000/service/web_services.py", line 635, in _execute
return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9000/wizard/__init__.py", line 177, in execute
res = self.execute_cr(cr, uid, data, state, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9000/wizard/__init__.py", line 72, in execute_cr
action_res = action(self, cr, uid, data, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9000/addons/base/module/wizard/wizard_module_upgrade.py", line 83, in _upgrade_module
db, pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9000/pooler.py", line 62, in restart_pool
return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9000/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9000/addons/__init__.py", line 830, in load_modules
r = load_module_graph(cr, graph, status, report=report)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9000/addons/__init__.py", line 717, in load_module_graph
load_init_update_xml(cr, m, idref, mode, kind)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9000/addons/__init__.py", line 613, in load_init_update_xml
tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9000/tools/convert.py", line 927, in convert_xml_import
obj.parse(doc.getroot())
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9000/tools/convert.py", line 821, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9000/tools/convert.py", line 778, in _tag_record
f_val = self.id_get(cr, f_model, f_ref)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9000/tools/convert.py", line 796, in id_get
return self.model_id_get(cr, model, id_str)[1]
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9000/tools/convert.py", line 803, in model_id_get
result = model_data_obj._get_id(cr, self.uid, mod, id_str)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9000/tools/misc.py", line 809, in cached_result
result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9000/addons/base/ir/ir_model.py", line 500, in _get_id
raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to account.account_type_root