c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #25404
[Bug 790457] [NEW] [addons-extra-trunk: hr_holidays_request] The model res.roles does not exist
Public bug reported:
When install module hr_holidays_request from addons-extra-trunk, it generated the following error.
Is res.roles removed?
Environment Information :
System : Linux-2.6.32-31-generic-x86_64-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-31-generic
Operating System Version : #61-Ubuntu SMP Fri Apr 8 18:25:51 UTC 2011
Operating System Architecture : 64bit
Operating System Locale : en_US.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.1-dev
Last revision No. & ID :1901 nch@xxxxxxxxxxx-20110527114809-u7vir1baae1mlj94
Traceback (most recent call last):
File "/media/data/Projects/openerp-trunk/server/openerp/netsvc.py", line 427, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/media/data/Projects/openerp-trunk/server/openerp/service/web_services.py", line 574, in dispatch
res = fn(db, uid, *params)
File "/media/data/Projects/openerp-trunk/server/openerp/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/media/data/Projects/openerp-trunk/server/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/media/data/Projects/openerp-trunk/server/openerp/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/media/data/Projects/openerp-trunk/server/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 "/media/data/Projects/openerp-trunk/server/openerp/pooler.py", line 55, in restart_pool
bound_registry = _Registries.new(db_name, force_demo, status, update_module, True)
File "/media/data/Projects/openerp-trunk/server/openerp/modules/registry.py", line 86, in new
openerp.modules.load_modules(db, force_demo, status, update_module)
File "/media/data/Projects/openerp-trunk/server/openerp/modules/loading.py", line 337, in load_modules
processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
File "/media/data/Projects/openerp-trunk/server/openerp/modules/loading.py", line 197, in load_module_graph
load_update_xml(cr, m, idref, mode)
File "/media/data/Projects/openerp-trunk/server/openerp/modules/loading.py", line 95, in load_update_xml
_load_data(cr, m, idref, mode, 'update_xml')
File "/media/data/Projects/openerp-trunk/server/openerp/modules/loading.py", line 147, in _load_data
tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
File "/media/data/Projects/openerp-trunk/server/openerp/tools/convert.py", line 995, in convert_xml_import
obj.parse(doc.getroot())
File "/media/data/Projects/openerp-trunk/server/openerp/tools/convert.py", line 885, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/media/data/Projects/openerp-trunk/server/openerp/tools/convert.py", line 775, in _tag_record
assert model, "The model %s does not exist !" % (rec_model,)
AssertionError: The model res.roles does not exist !
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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/790457
Title:
[addons-extra-trunk: hr_holidays_request] The model res.roles does not
exist
Status in OpenERP Modules (addons):
New
Bug description:
When install module hr_holidays_request from addons-extra-trunk, it generated the following error.
Is res.roles removed?
Environment Information :
System : Linux-2.6.32-31-generic-x86_64-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-31-generic
Operating System Version : #61-Ubuntu SMP Fri Apr 8 18:25:51 UTC 2011
Operating System Architecture : 64bit
Operating System Locale : en_US.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.1-dev
Last revision No. & ID :1901 nch@xxxxxxxxxxx-20110527114809-u7vir1baae1mlj94
Traceback (most recent call last):
File "/media/data/Projects/openerp-trunk/server/openerp/netsvc.py", line 427, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/media/data/Projects/openerp-trunk/server/openerp/service/web_services.py", line 574, in dispatch
res = fn(db, uid, *params)
File "/media/data/Projects/openerp-trunk/server/openerp/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/media/data/Projects/openerp-trunk/server/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/media/data/Projects/openerp-trunk/server/openerp/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/media/data/Projects/openerp-trunk/server/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 "/media/data/Projects/openerp-trunk/server/openerp/pooler.py", line 55, in restart_pool
bound_registry = _Registries.new(db_name, force_demo, status, update_module, True)
File "/media/data/Projects/openerp-trunk/server/openerp/modules/registry.py", line 86, in new
openerp.modules.load_modules(db, force_demo, status, update_module)
File "/media/data/Projects/openerp-trunk/server/openerp/modules/loading.py", line 337, in load_modules
processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
File "/media/data/Projects/openerp-trunk/server/openerp/modules/loading.py", line 197, in load_module_graph
load_update_xml(cr, m, idref, mode)
File "/media/data/Projects/openerp-trunk/server/openerp/modules/loading.py", line 95, in load_update_xml
_load_data(cr, m, idref, mode, 'update_xml')
File "/media/data/Projects/openerp-trunk/server/openerp/modules/loading.py", line 147, in _load_data
tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
File "/media/data/Projects/openerp-trunk/server/openerp/tools/convert.py", line 995, in convert_xml_import
obj.parse(doc.getroot())
File "/media/data/Projects/openerp-trunk/server/openerp/tools/convert.py", line 885, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/media/data/Projects/openerp-trunk/server/openerp/tools/convert.py", line 775, in _tag_record
assert model, "The model %s does not exist !" % (rec_model,)
AssertionError: The model res.roles does not exist !
Follow ups
References