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

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
24766
2
6月 20
3017
2
12月 19
15158
1
9月 16
20873
1
11月 15
4068