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

How to hide cost price located on product -> procurement tab for specific user?

頭像
捨棄
最佳答案

By customizing the code of the view. Assign a group to that field so only the users in your group can see it.

Like:

<field name="standard_price" attrs="{'readonly':[('cost_method','=','average')]}" groups="your_group_id"/>
頭像
捨棄
作者

How to know my group id, where to look for it? Thanks.

相關帖文 回覆 瀏覽次數 活動
2
5月 22
4720
1
4月 21
4238
1
9月 20
2888
7
6月 20
22170
1
1月 20
2863