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

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
4753
1
4月 21
4273
1
9月 20
2917
7
6月 20
22220
1
1月 20
2918