跳至內容
選單
此問題已被標幟
1 回覆
4022 瀏覽次數

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
3440
1
1月 24
14242
1
8月 22
5789
2
3月 18
5059
0
1月 18
3166