user have access only as warehouse manager ,how to disable update button in inventory tab in product form login as warehouse manager
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
HI Veena,
You may restrict a button , field and other form contents with using the group attribute in that field/button, So only a provided group or groups may see or not see that field/button in the xml view of model, according to your provided condition in the xml code.
I am going to give you a sample example for this maybe it will help ... ""<button name="action_draft" states="done" string="Set to Draft" type="object" icon="gtk-convert" groups="account.group_account_manager"/> ""
here only the person or users belong to this group account_manager will have access to this button. Similarly you can go for your requirement. Hope it will help.
where we write this code
This is just a sample line code you may also use similar code ""group attribute with your button field in xml.
only the admin wants to enable the update button
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
0
mar 15
|
3441 | ||
|
0
mar 15
|
3596 | ||
|
2
maj 24
|
6523 | ||
odoo module update error
Rozwiązane
|
|
1
sty 20
|
6195 | |
How to update a field in recordset v10?
Rozwiązane
|
|
2
lip 17
|
7500 |