Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4311 Vistas

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

Avatar
Descartar
Mejor respuesta

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?

Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 15
3636
1
ene 24
14747
1
ago 22
6329
2
mar 18
5488
0
ene 18
3622