Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Add menuitem to portal group

By
Mostafa Mohamed Abdelmonam Abdo
on 3/7/16, 3:05 PM 458 views

i'm trying to add a menu to the portal group to be viewed only when i check in the portal group box but i didn't work i don't know why

    <menuitem id="sales_menu_sub_for_poral" name="Reporting"
              sequence="20" groups="base.group_portal"/>

    <menuitem id="sales_menu_no_sub_o" name="Sales"
              parent="sales_menu_sub_for_poral" sequence="30" groups="base.group_portal"/>

    <menuitem id="sales_menu_no_sub_o_go_po" name="Sales Analysis"
              parent="sales_menu_no_sub_o" sequence="40" action="sale.action_order_report_all" groups="base.group_portal"/>
2
CatsandDogs
On 3/8/16, 5:05 AM

Use below code:

<menuitem id="sales_menu_sub_for_poral" name="Reporting"
              sequence="20" parent="portal.portal_menu" groups="base.group_portal"/>
<menuitem id="sales_menu_no_sub_o" name="Sales" parent="sales_menu_sub_for_poral" sequence="30" groups="base.group_portal"/> <menuitem id="sales_menu_no_sub_o_go_po" name="Sales Analysis" parent="sales_menu_no_sub_o" sequence="40" action="sale.action_order_report_all" groups="base.group_portal"/>

did not work still hidden for portal user.

Mostafa Mohamed Abdelmonam Abdo
on 3/8/16, 6:46 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 3/7/16, 3:05 PM
Seen: 458 times
Last updated: 3/8/16, 5:05 AM