Post by visiniaga »

Assignment Resouces in Odoo, different from odoo from that select user in Odoo,
this should be correct, as employee should select not users.
but company selection is not honored, as user should no assign resource to employee that he dont have access

Attachments
Screenshot 2021-09-29 12.14.25 PM.png
Screenshot 2021-09-29 12.14.25 PM.png (39.03 KiB) Viewed 1217 times
Screenshot 2021-09-29 12.12.09 PM.png
Screenshot 2021-09-29 12.12.09 PM.png (238.87 KiB) Viewed 1217 times

Post by Terence »

Can you clarify? We now return all. Should we add company as field or filter out companies that do not belong to the project?


Post by visiniaga »

Hi Terence,

thanks for quick prompt, yes, it should filter out employee that dont belong to company in the project?


Post by visiniaga »

also quick check,
variabel Resources, assigned_ids, it should refer to employee also right?
as in the odoo form, it refer to user only?


Post by Terence »

variabel Resources, assigned_ids, it should refer to employee also right?

That is left for compatibility reasons. It first linked to users, which we consider a design flaw. People already assigned with that field. The new field is 'assigned_resources' which links to resources. But not the Employee model because that would require a new module dependency. We might change that for a new module or in Odoo 15.


Post Reply