Hide or Remove Export Option From More Menu Button in Odoo
1- Create XML file
In your module create a new XML file named "base.xml" under "static/src/base.xml" path, and past following code snippet.Read More: How to Create Action and Menu in Odoo
Code Description:
In above code if "widget.session.uid" is 1, its mean that "Export" option would be visible to admin only and no other user will be able to see the "Export" option from more menu.Read More: How to Create Action and Menu Item in Odoo13
2- Register your newly create file in "__openerp.py__"
Read More: Understanding the Modular Structure of Odoo
'qweb': [
"static/src/base.xml",
],
Now restart the odoo server/service and update your database and refresh the page.
1 Comments
nice sharing
ReplyDelete