Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3138 มุมมอง

Hi i am using odoo 14 CE , i tried this code which enables the users except the admin user to see only their customer for sales user own document , but it doesnt allow the user to create the customer , what should i do in this code or externally so that sale users own document can create customers and access only those customers they create



model="ir.rule" id="partner_view_rule_salesperson">
name="name">Sales Person View Rule
name="model_id" ref="base.model_res_partner"/>
name="groups" eval="[(4, ref('sales_team.group_sale_salesman'))]"/>
name="domain_force">[('user_id', '=', user.id),'|', ('type', '!=', 'private'), ('type', '=', False)]



model="ir.rule" id="partner_view_rule_manager">
name="name">Sales Person View Rule
name="model_id" ref="base.model_res_partner"/>
name="groups" eval="[(4, ref('sales_team.group_sale_manager'))]"/>
name="domain_force">[(1, '=', 1)]


thank you

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

Check "Contact Creation" access right

go to Settings--> Users-->open user form-->scroll down to " Extra Rights"


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ม.ค. 22
2540
4
มิ.ย. 25
2497
0
มิ.ย. 21
3002
1
มี.ค. 15
9619
3
ก.พ. 24
4941