models for To-do
im sitting here on Odoo 12 and try to implement own custom moduls with the help of Odoo12 Development Book.
Todo means that every user can see a list of task he (or his group) have (has) to do.
On the book example only the user can see his created tasks. Record Rule: [('create_uid', '=', user.id)]
I would prefer that a user can see his own-created tasks and the tasks that affect him
What must my record_rules look like?
My todo-model (x_todo_item) has following custom-attributes:
x_is_done Is Done? boolean
x_name Name char
x_work_team_ids Work Team many2many
Unfortunately, I'm not so good with the models and record rules
Can you help me pls?