openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #18770
[Bug 1084966] Re: [extra-trunk]Error installing module 'label' from extra-trunk in openerp 6.1-1
Hello Infovallex,
'Label' module 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.
You have faced this error because we have changed our xml menu tag since
6.0. On label module our xml tag is old which iwas used on version 5.
See menu tag on label module of extra-trunk,
<menuitem name="Partners/Configuration/Label Manufacturers"
id="menu_report_label_manufacturer_form"
action="action_report_label_manufacturer_form"/>
It should be like this
<menuitem name="Label Manufacturers" id="menu_report_label_manufacturer_form" action="action_report_label_manufacturer_form" parent="configuration_label_reports_menu"/>
You have to changed all the menuitem as per above then you will get
success. Or *you can use the' Label' module from extra-addons branch of
6.0 branch (Here this issue was fixed ago)
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, we will mark it as "Won't fix" to indicate that
no further progress is expected at the moment. If you require further assistance with any trouble while updating the module,
do not hesitate to ask here or via a question: https://answers.launchpad.net/openobject-addons
Get the code from here: - https://code.launchpad.net/~openerp-commiter
/openobject-addons/extra-6.0 (Get the label module with fixes)
I hope you understand, and perhaps this explanation will be helpful to you if you start fixing this extra-addon...
Thank you!
PS: For whomever works on fixing this, you probably want to apply/merge
your changes in both the 6.0 and trunk branches of extra-addons:
- https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-
extra-addons
** Changed in: openobject-addons
Status: New => Won't Fix
--
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/1084966
Title:
[extra-trunk]Error installing module 'label' from extra-trunk in
openerp 6.1-1
Status in OpenERP Addons (modules):
Won't Fix
Bug description:
2012-11-30 09:40:22,444 1528 ERROR tm2013_prod30112012 openerp.tools.convert: Parse error in /home/tallamadera/modulos_openerp/addons/label/report_label_view.xml:16:
<menuitem name="Partners/Configuration/Label Manufacturers" id="menu_report_label_manufacturer_form" action="action_report_label_manufacturer_form"/>
Traceback (most recent call last):
File "/home/tallamadera/openerp-6.1-1/openerp/tools/convert.py", line 890, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/tallamadera/openerp-6.1-1/openerp/tools/convert.py", line 687, 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/tallamadera/openerp-6.1-1/openerp/addons/base/ir/ir_model.py", line 715, in _update
model_obj.write(cr, uid, [res_id], values, context=context)
File "/home/tallamadera/openerp-6.1-1/openerp/addons/base/ir/ir_ui_menu.py", line 155, in write
return super(ir_ui_menu, self).write(*args, **kwargs)
File "/home/tallamadera/openerp-6.1-1/openerp/osv/orm.py", line 3943, in write
self._validate(cr, user, ids, context)
File "/home/tallamadera/openerp-6.1-1/openerp/osv/orm.py", line 1466, 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/1084966/+subscriptions
Follow ups
References