trunk - AssertionError: The model ir.rule.group does not exist

Bug #577990 reported by Ferdinand
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

./openobject-addons revno: 3399
./openobject-server revno: 2242

trying to install modul product

Traceback (most recent call last):
  File "/home/gass/OpenERP/trunk/openobject-server/bin/netsvc.py", line 376, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/gass/OpenERP/trunk/openobject-server/bin/service/web_services.py", line 624, in dispatch
    res = fn(db, uid, *params)
  File "/home/gass/OpenERP/trunk/openobject-server/bin/service/web_services.py", line 651, in exp_execute
    return self._execute(db, uid, wiz_id, datas, action, context)
  File "/home/gass/OpenERP/trunk/openobject-server/bin/service/web_services.py", line 633, in _execute
    return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
  File "/home/gass/OpenERP/trunk/openobject-server/bin/wizard/__init__.py", line 177, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/home/gass/OpenERP/trunk/openobject-server/bin/wizard/__init__.py", line 72, in execute_cr
    action_res = action(self, cr, uid, data, context)
  File "/home/gass/OpenERP/trunk/openobject-server/bin/addons/base/module/wizard/wizard_module_upgrade.py", line 91, in _upgrade_module
    db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/home/gass/OpenERP/trunk/openobject-server/bin/pooler.py", line 61, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/home/gass/OpenERP/trunk/openobject-server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/home/gass/OpenERP/trunk/openobject-server/bin/addons/__init__.py", line 841, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/home/gass/OpenERP/trunk/openobject-server/bin/addons/__init__.py", line 730, in load_module_graph
    load_init_update_xml(cr, m, idref, mode, kind)
  File "/home/gass/OpenERP/trunk/openobject-server/bin/addons/__init__.py", line 619, in load_init_update_xml
    tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
  File "/home/gass/OpenERP/trunk/openobject-server/bin/tools/convert.py", line 868, in convert_xml_import
    obj.parse(doc.getroot())
  File "/home/gass/OpenERP/trunk/openobject-server/bin/tools/convert.py", line 762, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/home/gass/OpenERP/trunk/openobject-server/bin/tools/convert.py", line 660, in _tag_record
    assert model, "The model %s does not exist !" % (rec_model,)
AssertionError: The model ir.rule.group does not exist !

Related branches

Revision history for this message
xrg (xrg) wrote : Re: [Bug 577990] [NEW] trunk - AssertionError: The model ir.rule.group does not exist

On Monday 10 May 2010, you wrote:
> Public bug reported:
>

> AssertionError: The model ir.rule.group does not exist !
>

Yes, Ferdinard, this functionality has been deprecated. :S

After a short discussion, we realized that ir.rule would be enough, nobody[1]
does use more than one ir.rule per group.

You will need to adapt your code (if you define ir.rule.groups), upgrade the
'base' module and also run some migration scripts (they're in my repo so far).

[1] yes, assumptions.

Revision history for this message
Ferdinand (office-chricar) wrote :

thanks for pointing out

Changed in openobject-server:
status: New → Invalid
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.