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

Hi, I would like to know how create a rule to a sales team group can only see yours partners. For example, I have a sales team called "group_sales_01" and I want asign a rule to the users of this group can see the partners with "sales team" set to "group_sales_01".

is it possible in OpenERP? I have OpenERP 7. And anyone know good documentation about security in OpenERP and Rules to know how create rules and limitations and other aspect of OpenERP?

頭像
捨棄
最佳答案

Check question #170. Not sure why I can't paste URL in the answer.

頭像
捨棄
作者

your karma, if is minor to 50 you cant paste a url...I think. if you want, my email is "info@mcindietech.com" thanks!

最佳答案

Hello,

To create rule in v7 go to menu Setting/Technical/Security/Record Rules

In this menu you can create a record rules and in group name you can define your created group.

You also define a domain.

Thank You,

頭像
捨棄
作者

ok but GROUP == SALES GROUP? When I say GROUP, I mean SALES GROUP. Is the same?

Yes You can define group in Gruop Name you want.

The rule that really worked for me was aplied after creating a new group called "Show Sales Department" ( by example ) and then I used the next rule: ['|', ('section_id','=',user.default_section_id.id) ,('user_id','=',user.id)] . I hope it works

Yes I try but salesmanager not create the customer after create new group and same domain as above Jose.

相關帖文 回覆 瀏覽次數 活動
1
12月 22
24767
2
6月 20
3019
2
12月 19
15162
1
9月 16
20874
1
11月 15
4077