Skip to Content
Menu
This question has been flagged
1 Reply
4442 Views

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

Avatar
Discard
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
Discard
Author

admin should enabled to update the product details

Author

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

Author

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

Related Posts Replies Views Activity
0
Mar 15
3719
1
Jan 24
14947
1
Aug 22
6523
2
Mar 18
5633
0
Jan 18
3819