Post by thomi_ch »

Hello

If you have 14.0.2.1.12 and worked in Gantt and also in Tasks directly like this:

  1. add employees in task field employee_ids
  2. add employees also in gantt > task view > column "assigned resources"

This can cause a issue if you upgrade to 14.0.2.1.13. Why?
Field employee_ids changed from normal m2m to computed m2m!

14.0.2.1.12
If you added employees direct in the task field employee_ids, it will NOT affect assignee or resource in gantt task view.
If you add employees in gantt task view in column "assigned resources" it will affect the task directly.

14.0.2.1.13
You can add employees in task directly or in gantt task view column "assigned resources".. it will do the rest for you...

regards
thomi


Post by tomb »

Hi Thomi

You are right, the employee_ids column is now a direct link with whatever is in assigned resources

This week we'll release an update that keeps the Odoo "Assignees" field (leading to res.users) visible so that you can edit this one separately of the employees that are added on a task (this field is currently hidden)

Would that solve your issue


Post by thomi_ch »

Hey tomb

Which default field you mean exactly?
If you also show that field it can confuse the user...

Did you mean this one?

<xpath expr="//field[@name='user_id']" position="attributes">
    <attribute name="invisible">1</attribute>
</xpath>

This is only a m2o field.. which is the default "assigned to" field.

Regards
thomi


Post by thomi_ch »

... the thing is... in 14.0.2.1.13 you can add employees in gantt task view or even directly in a task... it will work together.

Problem is, if upgrading from 14.0.2.1.12 to 14.0.2.1.13 and the user added employees only in the task directly, which will not affect the gantt task assigners entry.

Maybe some upgrade migration must be don from 12 to 13... or not?

thomi


Post by tomb »

Ahh i understand now. Yes, you're right...


Post by tomb »

And about the field, indeed it's the user_id field that shows the assignee. Problem is some people want to use that for assignment of a user, while also planning the employees on the tasks. So we will make it an optional setting to hide it.


Post Reply