Hi
i am using odoo version 12
currently the sales module has different permission like Manager, User: Own Documents Only, User: All documents
permission of the sales module; during the user creation
Please help me to fix this problem
Thank you
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi
i am using odoo version 12
currently the sales module has different permission like Manager, User: Own Documents Only, User: All documents
permission of the sales module; during the user creation
Please help me to fix this problem
Thank you
Hi,
You can add a new group to this category and add permission like below
<record id="group_sale_salesman_all" model="res.groups">
<field name="name">User: View all Documents</field>
<field name="category_id" ref="base.module_category_sales_sales"/>
<field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>
<field name="comment">the user will have access to all records in the sales application.</field>
</record>
Then you can give permission to the model you wanted in csv file
access_crm_team_user,crm.team.user,model_crm_team,sales_team.group_sale_salesman_all,1,1,1,1
Regards
Thank you for your reply
I need to view all sale orders only
so i just edited the csv file for getting the sale orders (only for read permission) it look like
access_sales_team_view_user,sales.team.view.user,sale.model_sale.order,sales_team.group_sale_salesman_all,1,0,0,0
But it occured an external id error like
raise ValueError('External ID not found in the system: %s' % xmlid)
odoo.tools.convert.ParseError: "External ID not found in the system: base.module_category_sales_sales" while parsing /home/prajith/odoo_Dev/odoo-12.0/custom_addons/extras/security/sale_role_extend.xml:92, near
<record id="group_sale_salesman_all" model="res.groups">
<field name="name">User: View all Documents</field>
<field name="category_id" ref="base.module_category_sales_sales"/>
<field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>
<field name="comment">the user will have access to all records in the sales application.</field>
</record>
I try to fix it but i don't why this error. Please help me ...
Thank you
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
Odoo Mail Sending Limit
Đã xử lý
|
|
2
thg 12 23
|
14708 | |
|
0
thg 10 23
|
33 | ||
|
3
thg 10 23
|
788 | ||
|
1
thg 10 23
|
569 | ||
|
1
thg 8 23
|
2443 |
Groups and Access rights: https://goo.gl/4jAhtH