Odoo Help


how filter the products ?

aneesh ATEES Infomedia Pvt Ltd
on 9/11/15, 5:32 AM 977 views

hi i want to show  the products list  only who added it..means i have set the portal user to add product,and  portal user can see only the products added by himself..other user added product can not be seen. i have write rule for it in the portal group "[('create_uid', '=' , 'users.id')]" but not working it..pls help me fast   


Hi, your logic was nearly right just remove the single quote from users.id i.e. [('create_uid','=',user.id)]. If it still gives access to all then you can try creating many to one field of res.users and set the default value as current user then go with the record rule. I hope this will help you.

On 9/11/15, 5:43 AM

Aneesh try this


Thanks for ur comment Jothimani but issue is still not solved ...filtering not working.list all the products

aneesh ATEES Infomedia Pvt Ltd
on 9/11/15, 7:48 AM
Hengky Zhang
On 9/11/15, 5:44 AM

you can check the example in sales

in that example we just can see our sales order

Mayank Gosai
On 11/16/15, 1:26 AM

Hello Aneesh,

You can use the following code:


Hope it helps you !

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 9/11/15, 5:32 AM
Seen: 977 times
Last updated: 11/16/15, 1:26 AM