This is my code but the Sub-Menu is created at the related main menu
<record id="self_services_hr_main_menu" model="website.menu">
<field name="name">HR Self Services</field>
<field name="parent_id" ref="website.main_menu"/>
<field name="sequence" type="int">70</field>
<field name="website_id" ref="website.default_website"/>
</record><record id="self_services_hr_vacation_menu" model="website.menu">
<field name="name">Request Vacation</field>
<field name="parent_id" ref="custom_hr.self_services_hr_main_menu"/>
</record>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухоблік
- Склад
- PoS
- Project
- MRP
Це запитання позначене
2821
Переглядів
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
РеєстраціяRelated Posts | Відповіді | Переглядів | Дія | |
---|---|---|---|---|
|
1
лип. 20
|
3500 | ||
|
0
січ. 20
|
2888 | ||
|
4
трав. 24
|
12581 | ||
|
1
квіт. 24
|
3226 | ||
|
3
січ. 24
|
8584 |