Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4234 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
3589
1
ene 24
14602
1
ago 22
6220
2
mar 18
5373
0
ene 18
3512