Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
6883 Представления

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
5598
1
мар. 15
4401
4
сент. 16
51929
0
июл. 15
4549
0
мар. 15
3828