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

I want to show some measures in the measures dropdown only for specific group (sales admin) and hide them for other groups

let's say i have the cost measure and i want the users in sales administration group only to see it

頭像
捨棄
最佳答案

Hi,

You can give groups attribute in the python file for the field.

cost = fields.Float('Cost', readonly=True, groups="sales_team.group_sale_manager")

Regards

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
7月 21
3882
0
5月 17
3995
0
9月 21
78
2
5月 24
2461
0
1月 23
809