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

I need help to understand how I can hide the contacts of a certain nation to a group of employees, I tried to put a record rule but the situation does not change.

This is the domain filter of the Record rule: [('country_id','=','233')]  
It has as object "res.partner" and the group name (the rule isn't global) is the one of the group of users that can access only to the contacts with country_id:233.

The problem is that when i log in with a user inside that group I still see all the contacts and not only the ones with country_id = 233

アバター
破棄
最善の回答

https://github.com/odoo/odoo/blob/11.0/odoo/addons/base/res/res_partner.py#L195

I think:

    [('country_id.id','=','233')]

アバター
破棄
関連投稿 返信 ビュー 活動
3
12月 21
7908
0
8月 24
843
2
10月 22
11957
3
6月 20
3548
0
12月 16
3578