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.....!!!!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registracija| Related Posts | Replies | Rodiniai | Veikla | |
|---|---|---|---|---|
|
2
lapkr. 24
|
4140 | |||
|
1
geg. 26
|
60534 | |||
|
1
saus. 24
|
16527 | |||
|
3
liep. 22
|
17276 | |||
|
1
geg. 21
|
11346 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.