跳至内容
菜单
此问题已终结
1 回复
4030 查看

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

形象
丢弃
最佳答案

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"/>
形象
丢弃
编写者

admin should enabled to update the product details

编写者

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

编写者

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

相关帖文 回复 查看 活动
0
3月 15
3441
1
1月 24
14252
1
8月 22
5795
2
3月 18
5061
0
1月 18
3166