hello, i want to create a Button that only visible to ADMIN only. if other than admin logged in , the button would be INVISIBLE...
thanks a lot in advance
Regards, Ali..
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
hello, i want to create a Button that only visible to ADMIN only. if other than admin logged in , the button would be INVISIBLE...
thanks a lot in advance
Regards, Ali..
Hello,
You can do like:
<button string="Cancel all" groups="base.group_erp_manager"/>
In groups you have to assign the group to whom you want to display button.
Thanks.
how to give access right programmatically...???
In xml add groups="base.group_erp_manager" to the button you have created. This group already exist so no need to add other code.
thanks a lot.....!!!!
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
2
nov. 24
|
1924 | ||
|
1
janv. 24
|
14265 | ||
|
3
juil. 22
|
14983 | ||
|
1
mai 21
|
9689 | ||
|
2
juin 19
|
15911 |