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.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 9/11/15, 5:32 AM|
|Seen: 485 times|
|Last updated: 11/16/15, 1:26 AM|