Skip to Content
Menu
This question has been flagged
1 Odpoveď
4043 Zobrazenia

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

Avatar
Zrušiť
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
Zrušiť
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 Replies Zobrazenia Aktivita
0
mar 15
3443
1
jan 24
14257
1
aug 22
5807
2
mar 18
5063
0
jan 18
3176