Skip to Content
Menú
This question has been flagged
1 Respondre
4021 Vistes

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

Avatar
Descartar
Best Answer

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"/>
Avatar
Descartar
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?

Related Posts Respostes Vistes Activitat
0
de març 15
3440
1
de gen. 24
14232
1
d’ag. 22
5788
2
de març 18
5059
0
de gen. 18
3166