← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 712954] Re: can't install commission

 

Hello Lorenzo,

"commission" is part of the extra-addons, which are maintained by the
community, including all the modules created by "OpenERP" or "Tiny", as
none of these are actively developed by our teams anymore.

For your issue, your patch is correct because the problem is, name of the menu item is changed in 6.0 .
So if you change the xml id of menu tag then the problem will remove which is described in your patch.

So if you or anyone from the community would like to work on it, please
mark the bug as "In progress" and assign it to yourself (or ask us or
anyone from OpenERP Drivers to do it for you). In the mean time, I will
mark it as "Won't fix" to indicate that no further progress is expected
at the moment.

I hope you understand.

Thanks.

** Changed in: openobject-addons
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/712954

Title:
  can't install commission

Status in OpenERP Modules (addons):
  Won't Fix

Bug description:
  addons-extra revno 5188
  trying to install commission:

  [2011-02-04 09:42:19,476][test] ERROR:tools.convert.xml_import:Parse error in /home/elbati/workspace/openerp/openerp6/server/bin/addons/commission/saleagent_view.xml:64: 
  <menuitem name="Commissions" id="menu_sale_commisions" parent="base.menu_sale_root"/>
  Traceback (most recent call last):
    File "/home/elbati/workspace/openerp/openerp6/server/bin/tools/convert.py", line 865, in parse
      self._tags[rec.tag](self.cr, rec, n)
    File "/home/elbati/workspace/openerp/openerp6/server/bin/tools/convert.py", line 586, in _tag_menuitem
      menu_parent_id = self.id_get(cr, rec.get('parent',''))
    File "/home/elbati/workspace/openerp/openerp6/server/bin/tools/convert.py", line 842, in id_get
      res = self.model_id_get(cr, id_str)
    File "/home/elbati/workspace/openerp/openerp6/server/bin/tools/convert.py", line 851, in model_id_get
      return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
    File "/home/elbati/workspace/openerp/openerp6/server/bin/tools/misc.py", line 823, in cached_result
      result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
    File "/home/elbati/workspace/openerp/openerp6/server/bin/addons/base/ir/ir_model.py", line 609, in get_object_reference
      data_id = self._get_id(cr, uid, module, xml_id)
    File "/home/elbati/workspace/openerp/openerp6/server/bin/tools/misc.py", line 823, in cached_result
      result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
    File "/home/elbati/workspace/openerp/openerp6/server/bin/addons/base/ir/ir_model.py", line 602, in _get_id
      raise ValueError('No references to %s.%s' % (module, xml_id))
  ValueError: No references to base.menu_sale_root
  [2011-02-04 09:42:19,479][test] ERROR:web-services:Uncaught exception
  Traceback (most recent call last):
    File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/elbati/workspace/openerp/openerp6/server/bin/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
      _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
    File "/home/elbati/workspace/openerp/openerp6/server/bin/pooler.py", line 60, in restart_pool
      return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
    File "/home/elbati/workspace/openerp/openerp6/server/bin/pooler.py", line 39, in get_db_and_pool
      addons.load_modules(db, force_demo, status, update_module)
    File "/home/elbati/workspace/openerp/openerp6/server/bin/addons/__init__.py", line 883, in load_modules
      processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
    File "/home/elbati/workspace/openerp/openerp6/server/bin/addons/__init__.py", line 748, in load_module_graph
      load_init_update_xml(cr, m, idref, mode, kind)
    File "/home/elbati/workspace/openerp/openerp6/server/bin/addons/__init__.py", line 641, in load_init_update_xml
      tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
    File "/home/elbati/workspace/openerp/openerp6/server/bin/tools/convert.py", line 975, in convert_xml_import
      obj.parse(doc.getroot())
    File "/home/elbati/workspace/openerp/openerp6/server/bin/tools/convert.py", line 865, in parse
      self._tags[rec.tag](self.cr, rec, n)
    File "/home/elbati/workspace/openerp/openerp6/server/bin/tools/convert.py", line 586, in _tag_menuitem
      menu_parent_id = self.id_get(cr, rec.get('parent',''))
    File "/home/elbati/workspace/openerp/openerp6/server/bin/tools/convert.py", line 842, in id_get
      res = self.model_id_get(cr, id_str)
    File "/home/elbati/workspace/openerp/openerp6/server/bin/tools/convert.py", line 851, in model_id_get
      return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
    File "/home/elbati/workspace/openerp/openerp6/server/bin/tools/misc.py", line 823, in cached_result
      result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
    File "/home/elbati/workspace/openerp/openerp6/server/bin/addons/base/ir/ir_model.py", line 609, in get_object_reference
      data_id = self._get_id(cr, uid, module, xml_id)
    File "/home/elbati/workspace/openerp/openerp6/server/bin/tools/misc.py", line 823, in cached_result
      result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
    File "/home/elbati/workspace/openerp/openerp6/server/bin/addons/base/ir/ir_model.py", line 602, in _get_id
      raise ValueError('No references to %s.%s' % (module, xml_id))
  ValueError: No references to base.menu_sale_root

  Attached fixing patch





References