Browse Source

[IMP] mail_tracking_mass_mailing: Limit menus to relevant group

Odoo now doesn't protect main "Email marketing" root menu, so we have to put a group for 
the menu we add in this module under that root menu.
pull/331/head
Pedro M. Baeza 6 years ago
committed by GitHub
parent
commit
aa14e1a54f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      mail_tracking_mass_mailing/views/mail_mass_mailing_view.xml

1
mail_tracking_mass_mailing/views/mail_mass_mailing_view.xml

@ -22,6 +22,7 @@
</record> </record>
<menuitem name="Mail tracking" id="mail_tracking_menu" <menuitem name="Mail tracking" id="mail_tracking_menu"
groups="mass_mailing.group_mass_mailing_user"
parent="mass_mailing.mass_mailing_menu_root" sequence="50"/> parent="mass_mailing.mass_mailing_menu_root" sequence="50"/>
<menuitem name="Emails" id="mail_tracking_email_menu" <menuitem name="Emails" id="mail_tracking_email_menu"

Loading…
Cancel
Save