Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
6853 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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"/>

Awatar
Odrzuć
Autor

is there any documents about these settings? :)

Autor

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

Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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.

Awatar
Odrzuć

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.

Autor

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.

Autor

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.

Powiązane posty Odpowiedzi Widoki Czynność
0
gru 20
5548
1
mar 15
4350
4
wrz 16
51882
0
lip 15
4520
0
mar 15
3784