How to hide custom menu based on debug mode?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 会計
- 在庫
- PoS
- Project
- MRP
この質問にフラグが付けられました
add attribute in the menuitem like below
groups="base.group_no_one"
<menuitem id="menu_asset_depreciation_wizard"
name="Generate Assets Entries"
action="action_asset_depreciation_wizard"
parent="account.menu_finance_entries_generate_entries"
sequence="111"
groups="base.group_no_one"/>
i have added still menu is not hided
i have given..still not working
Many places in odoo use that,
https://github.com/odoo/odoo/blob/16.0/addons/account/views/account_menuitem.xml#L61
Try reset hard cache your browser also
upgrade module and try open another browser tab
Why i have posted the answer first and Mr Malviya get the best answer :( ?
You can add groups="base.group_no_one"
It will works
関連投稿 | 返信 | ビュー | 活動 | |
---|---|---|---|---|
|
2
1月 17
|
3216 | ||
|
4
2月 24
|
11346 | ||
|
0
11月 23
|
1368 | ||
|
1
6月 23
|
1890 | ||
|
2
4月 23
|
2526 |