Error in document_change at installation: AssertionError: The model res.roles does not exist !

Bug #933635 reported by jonhattan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Ravish(OpenERP)

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 !

Related branches

Revision history for this message
Ravish(OpenERP) (rmu-openerp) wrote :

Hello,

This issue has been fixed on lp:openobject-addons/extra-6.0 branch with following revision info and number.

Revision ID:: info:: <email address hidden>

Committed revision : 5698.

Thank you!

Changed in openobject-addons:
status: New → Fix Released
assignee: nobody → Ravish(OpenERP) (rmu-openerp)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.