Skip to Content
Menu
This question has been flagged
1 Atsakyti
4020 Rodiniai

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

Portretas
Atmesti
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"/>
Portretas
Atmesti
Autorius

admin should enabled to update the product details

Autorius

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

Autorius

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

Related Posts Replies Rodiniai Veikla
0
kov. 15
3439
1
saus. 24
14231
1
rugp. 22
5784
2
kov. 18
5058
0
saus. 18
3166