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, 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.....!!!!
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
2
nov. 24
|
4163 | |||
|
1
mai 26
|
60576 | |||
|
1
ian. 24
|
16556 | |||
|
3
iul. 22
|
17314 | |||
|
1
mai 21
|
11377 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.