How we can delete menuitem from the openerp screen?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
Hi,
Create a new module to delete your desird menuitems in openerp, you cold use this example
<delete model="ir.ui.menu" id="base.menu_partner" />
or
Remove the parent menu, and the sub menu's in *.xml
Try this
<delete model="ir.ui.menu" id="project.menu_action_view_task" />
Hi Prince. Make sure Technical Features is checked on for your user. Then go under Settings/Technical/User Interface/Menu Items and search for the item you want to delete (e.g. "Vouchers"). Once you find it, you can use the More menu to Delete it.
I hope this helps!
"Vouchers" is just a random example of a menu item. You'll want to search for the item you wish to delete.
Before you delete, make sure you do a backup of the database and secondly delete from the submenu items before coming to the main item, if not the submenu items will cluster up as menu items on the menu bar.
Please don't delete any menus.
my suggestion is Deactive the menu from Settings/Technical/User Interface/Menu Items this.
If you do like this in future you can enable it
Try this
class ir_ui_menu(models.Model):
inherit = 'ir.ui.menu'
_description = "ir.ui.menu"
active = fields.Boolean(string='Active', default=True)
in a file Xml
<record model ="ir.ui.menu" id="yourmodel.your_menu_ithem_id">
<field name="active" eval="False"/>
</record>
Or :
<record model ="ir.ui.menu" id="yourmodel.your_menu_ithem_id">
<field name="groups_id" eval="[(3,ref('base.group_user'))]"/>
</record>
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
Get menuitem list
تم الحل
|
|
3
ديسمبر 21
|
7296 | |
|
0
ديسمبر 18
|
2610 | ||
|
2
نوفمبر 17
|
6638 | ||
|
0
أبريل 17
|
2652 | ||
|
3
يونيو 16
|
4831 |