[extra-trunk]Error installing module 'label' from extra-trunk in openerp 6.1-1

Bug #1084966 reported by Infovallex
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Serpent Consulting Services

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.')

Amit Parik (amit-parik)
summary: - Error installing module 'label' from extra-trunk in openerp 6.1-1
+ [extra-trunk]Error installing module 'label' from extra-trunk in openerp
+ 6.1-1
Revision history for this message
Amit Parik (amit-parik) wrote :

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
Revision history for this message
Jordan (jordan-infovalles) wrote : Re: [Bug 1084966] Re: [extra-trunk]Error installing module 'label' from extra-trunk in openerp 6.1-1

Thanks so much!

2012/11/30 Twinkle Christian(OpenERP) <email address hidden>

> Hello Infovallex,
>
> This is not part of official addons so we can not fix it.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 you can contact related
> author.
>
> Thank you..
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1084966
>
> Title:
> [extra-trunk]Error installing module 'label' from extra-trunk in
> openerp 6.1-1
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-addons/+bug/1084966/+subscriptions
>

Revision history for this message
Jordan (jordan-infovalles) wrote :

Thanks so much!

2012/11/30 Amit Parik (OpenERP) <email address hidden>

> 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 subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1084966
>
> Title:
> [extra-trunk]Error installing module 'label' from extra-trunk in
> openerp 6.1-1
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-addons/+bug/1084966/+subscriptions
>

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

Jordan,

The advanced level label module has been published under the hood of SFD by Serpent Consulting Services : http://www.youtube.com/watch?v=VV6k5rDWEUo

We will fix the issue of the current module and will respond here.

Thanks.

Changed in openobject-addons:
status: Won't Fix → New
assignee: nobody → Serpent Consulting Services (serpent-consulting-services)
Revision history for this message
Ronald Portier (Therp) (rportier1962) wrote :

Hello people from Serpent,

The video looks quite impressive. But where can I find the published module?

And forgive me if I ask something stupid: what is SFD?

Kind regards,

Ronald

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.