Odoo Help


Filter projects by user

Rui Franco
on 11/6/13, 9:43 AM 1,403 views


Here's what I'm trying to do: when a user is creating timesheet records (Human resources/Timesheet activities), I want him to see only the accounts related to the projects he's a member of.

I've created a field in account_analytic_account to save the project_id but, then, when it comes to the domain, I can't do something like


Any ideas?

Daniel Reis
On 11/6/13, 10:52 AM

Try the other way around: [('project_id.members', 'in', uid)] (or user.id, if you're creating record access rules).

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: 11/6/13, 9:43 AM
Seen: 1403 times
Last updated: 3/16/15, 8:10 AM