コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2891 ビュー

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
3958
0
5月 17
4042
0
9月 21
78
2
5月 24
2655
0
1月 23
809