openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #08223
[Bug 942554] Re: No references to hr.employee1
Hello meixqhi,
I have checked your Issue, But I am not able to understand your problem
properly. So would please more focus on this Issue and provide step for
reproduce.
Thank you and waiting for your reply!
** Changed in: openobject-addons
Status: New => Incomplete
--
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/942554
Title:
No references to hr.employee1
Status in OpenERP Addons (modules):
Incomplete
Bug description:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.7/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.7/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.7/dist-packages/openerp-server/addons/base/res/res_config.py", line 167, in action_next
next = self.execute(cr, uid, ids, context=None)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/addons/base/res/res_config.py", line 397, in execute
new_db, self.pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/usr/local/lib/python2.7/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.7/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.7/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.7/dist-packages/openerp-server/addons/__init__.py", line 752, in load_module_graph
load_demo_xml(cr, m, idref, mode)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/addons/__init__.py", line 656, in load_demo_xml
tools.convert_xml_import(cr, m, fp, idref, mode=mode, noupdate=True, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/tools/convert.py", line 975, in convert_xml_import
obj.parse(doc.getroot())
File "/usr/local/lib/python2.7/dist-packages/openerp-server/tools/convert.py", line 865, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/usr/local/lib/python2.7/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.7/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.7/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.7/dist-packages/openerp-server/tools/misc.py", line 821, in cached_result
result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
File "/usr/local/lib/python2.7/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.7/dist-packages/openerp-server/tools/misc.py", line 821, in cached_result
result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
File "/usr/local/lib/python2.7/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 hr.employee1
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/942554/+subscriptions