In crm.team, I add a new many2many called member_ids
I want in menu "My pipeline", the leader of crm.team can see members opportunity as well
My approach is to create a new model called "accessable.res.users" (basically this model just contain 3 field. ID related to user_id.id, user_id, and name related to user_id.name) because when I make a many2many field in crm.lead called "visible_res_user_ids" that use comodel "res.users", then make notebook page tree with "visible_res_user_ids" field, when I open the form, nothing happen. the form is not opened and the page still responsive. just cannot open the form because it tried to read res.users. but if I remove the notebook page, it can open the form
So I assume res.users cannot be accessed by non admin users
Then I test it with filter before put it inside the view domain.
I assume I have to set the users "Sales" access right to "User: All Documents" to make him can see other document then I filter it
But even after I change that, it still not working
What is wrong with my code?
I'm planning to follow this post https://www.odoo.com/forum/help-1/how-to-inherit-and-change-the-domain-of-standard-rules-in-odoo-8-0-69326 to change the domain from odoo base