Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3780 Weergaven

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

Avatar
Annuleer
Beste antwoord

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
Annuleer
Auteur

admin should enabled to update the product details

Auteur

the non admin users should have only the read access,but the admin should have the rights to update by all means

Auteur

groups="stock.group_stock_manager."which group do you mean?

Gerelateerde posts Antwoorden Weergaven Activiteit
0
mrt. 15
3243
1
jan. 24
13835
1
aug. 22
5401
2
mrt. 18
4796
0
jan. 18
2910