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

Hi

I don't want sale team to see suppliers info, and the supplier price list, how can I do that? is that need custom modules?

regards

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

Hi Fanha,

You can set access rights from Menu :

Settings --> Groups --> Access Rights tab

or

you can give groups attribute in view part( ie. in .xml file)

like :- <field name="product_uom" groups="product.group_uom"/>

อวตาร
ละทิ้ง
ผู้เขียน

is there any documents about these settings? :)

ผู้เขียน

Settings --> Groups --> Access Rights tab in the object, select the line: Information about a product supplier and not stick any right.

คำตอบที่ดีที่สุด

I was try this ay but fail, it still shown all contact list or error when load new page, I try with Odoo 15

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Create a new group in Settings / Users / Groups ex: Sale / no suppliers

Create a new sercurity rule in Settings / Security / Record rules

In Object, choice Partner

In the domain field, add:

[('supplier','=',False)]

Add the group: Sale / no suppliers

Done.

อวตาร
ละทิ้ง

Fanha, this will make the Sales Group has access to documents that has no supplier. So, documents that has suppliers will not be displayed. That, I don't think this is what you are trying to achieve. Baiju's answer maybe a better approach.

ผู้เขียน

Hi John Doe, thx for feedback, have just update the answer, missing the partner object info. I need to hide all suppliers from the sale team. about the documents, what is documents? where can I find and check? regards.

Fanha, I used the word documents for instances/records of Sale Order, etc. Sorry, it is the normal lingo that I used with my team, shouldn't have used that term.

ผู้เขียน

hi John Doe, yes, you are right. after apply it to the exist sale group, all other user who is belongs to that group will not see the supplier too. So I create a new group for that rule and add the specific user into that group. still not sure any other problem with this move.

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ธ.ค. 20
5637
1
มี.ค. 15
4432
500 Internal Server Error แก้ไขแล้ว
4
ก.ย. 16
51953
0
ก.ค. 15
4591
0
มี.ค. 15
3867