Is it possible hide button in odoo ir.model.access.csv security file.
For example on form I have two button (Button 1 and Button 2) admin can see both button, user only Button 1.
Any simple solution?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Is it possible hide button in odoo ir.model.access.csv security file.
For example on form I have two button (Button 1 and Button 2) admin can see both button, user only Button 1.
Any simple solution?
If these are buttons on a form view you can show Button 2 only for certain user groups for by adding a groups attribute on it, eg.:
<button string="Button 2" groups="base.group_system" name="..." type="..."/>
This will only show Button 2 to users belonging to the Administration -> Settings group.
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.