openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #07531
[Bug 933635] Re: Error in document_change at installation: AssertionError: The model res.roles does not exist !
Hello,
This issue has been fixed on lp:openobject-addons/extra-6.0 branch with
following revision info and number.
Revision ID:: info:: rmu@xxxxxxxxxxx-20120217063759-imakzf3h5v5s4b5p
Committed revision : 5698.
Thank you!
** Changed in: openobject-addons
Status: New => Fix Released
** Changed in: openobject-addons
Assignee: (unassigned) => Ravish(OpenERP) (rmu-openerp)
--
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):
Fix Released
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
References