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

How to change position of the menu « website »?

By
Pascal Tremblay
on 1/13/15, 8:56 AM 1,894 views

Hello all!

Here is the XML code to change position of each item in the main menu :

<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <!-- Niveau 1 -->
        <menuitem id="base.menu_base_partner" name="Sales" parent="" sequence="1" />
        <menuitem id="base.menu_purchase_root" name="Purchases" parent="" sequence="2" />
        <menuitem id="account.menu_finance" name="Accounting" parent="" sequence="3" />
        <menuitem id="point_of_sale.menu_point_root" name="Point of sale" parent="" sequence="4" />
        <menuitem id="hr.menu_hr_root" name="Human resources" parent="" sequence="5" />
        <menuitem id="stock.menu_stock_root" name="Warehouse" parent="" sequence="6" />
        <menuitem id="base.marketing_menu" name="Marketing" parent="" sequence="7" />
        <menuitem id="mail.mail_feeds_main" name="Messaging" parent="" sequence="8" />
        <menuitem id="portal.portal_menu" name="Portal" parent="" sequence="9" />
        <menuitem id="knowledge.menu_document" name="Knowledge" parent="" sequence="10" />
        <menuitem id="base.menu_reporting" name="Reporting" parent="" sequence="11" />
        <menuitem id="base.menu_main_pm" name="Project" parent="" sequence="12" />
        <menuitem id="website.menu_website" name="Website" parent="" sequence="13" />
        <menuitem id="base.menu_administration" name="Settings" parent="" sequence="14" />
    </data>
</openerp>

I also have this line in my __openerp__.py :

    'depends' : ['sale','report','account','base','sale_layout','website','project'],

I also see that « Website » is the only menuitem who have a defined action. Here action is « Website » :

But the « website » menu is always at the last position. I want it at sequence 13!     ?????

0
Alan Luo
On 4/23/15, 5:40 AM

thanks! it's useful information

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: 1/13/15, 8:56 AM
Seen: 1894 times
Last updated: 4/23/15, 5:40 AM