Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4117 Widoki

how can we disable update button in inventory tab in product form when log in as a non-admin user

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

Add group to the button.

ie,

<button name="%(action_view_change_product_quantity)d" string="update"
                            type="action"
                            class="oe_link" groups="stock.group_stock_manager"/>
Awatar
Odrzuć
Autor

admin should enabled to update the product details

Autor

the non admin users should have only the read access,but the admin should have the rights to update by all means

Autor

groups="stock.group_stock_manager."which group do you mean?

Powiązane posty Odpowiedzi Widoki Czynność
0
mar 15
3516
1
sty 24
14402
1
sie 22
5989
2
mar 18
5218
0
sty 18
3356