openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #07495
[Bug 933635] [NEW] Error in document_change at installation: AssertionError: The model res.roles does not exist !
Public bug reported:
Probably this is a trivial error but I've not enough background yet as
to provide a patch.
Using latest extra-6.0 from bzr (revno: 5683) on debian squeeze.
Traceback (most recent call last):
File "/usr/share/pyshared/openerp-server/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/share/pyshared/openerp-server/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/usr/share/pyshared/openerp-server/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/share/pyshared/openerp-server/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/share/pyshared/openerp-server/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/share/pyshared/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/share/pyshared/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/share/pyshared/openerp-server/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/usr/share/pyshared/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/share/pyshared/openerp-server/addons/__init__.py", line 748, in load_module_graph
load_init_update_xml(cr, m, idref, mode, kind)
File "/usr/share/pyshared/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/share/pyshared/openerp-server/tools/convert.py", line 975, in convert_xml_import
obj.parse(doc.getroot())
File "/usr/share/pyshared/openerp-server/tools/convert.py", line 865, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/usr/share/pyshared/openerp-server/tools/convert.py", line 756, 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 OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/933635
Title:
Error in document_change at installation: AssertionError: The model
res.roles does not exist !
Status in OpenERP Addons (modules):
New
Bug description:
Probably this is a trivial error but I've not enough background yet as
to provide a patch.
Using latest extra-6.0 from bzr (revno: 5683) on debian squeeze.
Traceback (most recent call last):
File "/usr/share/pyshared/openerp-server/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/share/pyshared/openerp-server/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/usr/share/pyshared/openerp-server/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/share/pyshared/openerp-server/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/share/pyshared/openerp-server/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/share/pyshared/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/share/pyshared/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/share/pyshared/openerp-server/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/usr/share/pyshared/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/share/pyshared/openerp-server/addons/__init__.py", line 748, in load_module_graph
load_init_update_xml(cr, m, idref, mode, kind)
File "/usr/share/pyshared/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/share/pyshared/openerp-server/tools/convert.py", line 975, in convert_xml_import
obj.parse(doc.getroot())
File "/usr/share/pyshared/openerp-server/tools/convert.py", line 865, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/usr/share/pyshared/openerp-server/tools/convert.py", line 756, in _tag_record
assert model, "The model %s does not exist !" % (rec_model,)
AssertionError: The model res.roles does not exist !
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/933635/+subscriptions
Follow ups
References