Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
4039 Visualizações

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

Avatar
Cancelar
Melhor resposta

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
Cancelar
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?

Publicações relacionadas Respostas Visualizações Atividade
0
mar. 15
3441
1
jan. 24
14257
1
ago. 22
5804
2
mar. 18
5062
0
jan. 18
3174