[addons-extra-trunk: hr_holidays_request] The model res.roles does not exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
Amit Parik |
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.
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 <email address hidden>
Traceback (most recent call last):
File "/media/
result = ExportService.
File "/media/
res = fn(db, uid, *params)
File "/media/
return f(self, dbname, *args, **kwargs)
File "/media/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/media/
return getattr(object, method)(cr, uid, *args, **kw)
File "/media/
_db, pool = pooler.
File "/media/
bound_registry = _Registries.
File "/media/
openerp.
File "/media/
processed_
File "/media/
load_
File "/media/
_load_data(cr, m, idref, mode, 'update_xml')
File "/media/
tools.
File "/media/
obj.
File "/media/
self.
File "/media/
assert model, "The model %s does not exist !" % (rec_model,)
AssertionError: The model res.roles does not exist !
Hello Phong,
The problem created because the res.roles object has removed from the server side.
Thanks