hi everyone! I want to create a new module call: Magasin whose menu consists of 6 items: OUTILLAGE, PIÃCES DE RECHARGE, ELECTRICITÃ , FOURNITURES GÃNÃRALES and FOURNITURES DE BUREAU thank you in advance
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
You have to create parent menus and then child menus.
In v7 you have to create two parent menus and then child menus to which you can bind actions in your xml file.
<menuitem name="Parent Root A" id="menu_parent_root_a"/>
<menuitem name="Parent A" id="menu_parent_a" parent="menu_parent_root_a"/>
<menuitem name="Child Action Menu" id="menu_child_action" parent="menu_parent_a" action="your_action_id"/>
You may find more examples in OpenERP addons. Addons are our best friend in OpenERP.
Hope this will help you.
thank you, but whene can i create this parents and child menu!! can you tell me the procedure!! and thank you veryy much !(i have openerp7)
Did you create your module?
noo :( :( because i don't know whene can i create this parents and child menu!! :( can you tell me the procedure please!! i have openerp7, and i don't know whene can i find the administration menu
Hello Mariam,
You can create main menu and child menus like below way in your xml file.
Please find code in comment.
I hope this will help you.
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
Main Menu
==========
<menuitem name="main_menu_name" id="main_menu_id" sequence="1"/>
Sub Menu
========
<menuitem id="sub_menu_id" name="sub_menu_name" parent="main_menu_id" sequence="2"/>
Example
=======
#Main Menu
==========
<menuitem name="Project" id="menu_main_pm" sequence="70"/>
#Sub Menu
==========
<menuitem id="menu_project_config" name="Configuration" parent="menu_main_pm" sequence="100"/>
Hi,
Add a new menu in odoo.
<menuitem id="menu_id" name="menu_name" sequence="1"/>
Add a submenu in odoo
<menuitem id="menu_id" name="menu_name" parent="parent_id" sequence="2"/>
Regards
This will helpful
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
3
يناير 24
|
8745 | ||
|
0
يناير 24
|
7 | ||
|
3
فبراير 20
|
2987 | ||
|
1
يونيو 16
|
6579 | ||
|
2
فبراير 16
|
7891 |