← Back to team overview

openerp-india team mailing list archive

[Bug 930918] Re: Marketing campain recursive menu error

 

Hello Kellogs,

First of all, "Marketing" and "Marketing/Campaign" are available on
offical addons, So no need to use this module from extra-addons. As well
this module are totally removed form the trunk-extra-addons , So this
module will not availble at next major release.

Now comes up to your traceback, you have faced this traceback because out menu-item tag are totally changed in version 6 like 
        <menuitem action="action_name" id="menu_id" parent="parent menu_id" groups="group_id" (If you want to assign a group)/>

Here in campaign_view.xml old style's menuitem tag(which is supported on
v5) is used that's why this type of traceback occurs. So would you
please change the menu tag of campaign_view.xml (line# 43, 51, 52)
according to new syntax which is supported  in v6 then after you can
try.

But the better solution is you have to use this module from official
addons. So this is not a bug and I am closing this issue.

Hope this help for you.

Thanks for understanding!

** Changed in: openobject-addons
       Status: New => Invalid

** Converted to question:
   https://answers.launchpad.net/openobject-addons/+question/187615

-- 
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/930918

Title:
  Marketing campain recursive menu error

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  [2012-02-12 11:06:57,442][test] DEBUG:translate:no translation language detected, skipping translation for "'Error ! You can not create recursive Menu.'"
  [2012-02-12 11:06:57,442][test] DEBUG:translate:no translation language detected, skipping translation for "'Error occurred while validating the field(s) %s: %s'"
  [2012-02-12 11:06:57,444][test] ERROR:tools.convert.xml_import:Parse error in /home/workspace/addons/extra-6.0/marketing/campaign/campaign_view.xml:43:
  <menuitem name="Marketing Operations/Campaigns" action="view_campaign_tree" groups="base.group_system" id="menu_marketing_operations_campaigns"/>
  Traceback (most recent call last):
    File "/home/workspace/server/6.0/bin/tools/convert.py", line 865, in parse
      self._tags[rec.tag](self.cr, rec, n)
    File "/home/workspace/server/6.0/bin/tools/convert.py", line 663, in _tag_menuitem
      pid = self.pool.get('ir.model.data')._update(cr, self.uid, 'ir.ui.menu', self.module, values, xml_id, noupdate=self.isnoupdate(data_node), mode=self.mode, res_id=res and res[0] or False)
    File "/home/workspace/server/6.0/bin/addons/base/ir/ir_model.py", line 669, in _update
      model_obj.write(cr, uid, [res_id], values, context=context)
    File "/home/workspace/server/6.0/bin/addons/base/ir/ir_ui_menu.py", line 150, in write
      return super(ir_ui_menu, self).write(*args, **kwargs)
    File "/home/workspace/server/6.0/bin/osv/orm.py", line 3461, in write
      self._validate(cr, user, ids, context)
    File "/home/workspace/server/6.0/bin/osv/orm.py", line 949, in _validate
      raise except_orm('ValidateError', '\n'.join(error_msgs))
  except_orm: ('ValidateError', 'Error occurred while validating the field(s) parent_id: Error ! You can not create recursive Menu.')

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/930918/+subscriptions


References