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

I'm using Odoo 8. I've created a Record Rule (MyCustomers) with following rule

['|',('user_id','=','False'), ('user_id','=','user_id')] and assigned it to Sales/See Own Leads group. After setting this Rule, I get an error each time I login and doesn't show any customers & doesn't allow me to create customer.


 

Аватар
Отменить
Лучший ответ

try this:

['|',('user_id','=',False), ('user_id','=',user.id)] 

Аватар
Отменить
Автор

Thanks Axel

worked then?

Автор

Yes Axel, it worked. Thank you

could you upvote the answer?

Initially, this filter seems to work for me, but when trying to open partner view, I get res.user operation read warning again. I literally gave access to res.users model, but nothing happens.

Related Posts Ответы Просмотры Активность
1
июн. 17
8545
7
окт. 24
7680
1
сент. 24
1305
1
апр. 24
1899
0
июн. 22
328