Page 1 of 1

split task

Posted: Mon Oct 31, 2022 7:25 am
by cameronp

Hi there, with the availability of gantt 5.2 being able to split tasks as segments (right click split task on demo) , this throws an error in odoo now.
RangeError: Maximum call stack size exceeded
at hasOwn (<anonymous>)
at ObjectHelper.pathifyKeys (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:12003:11)
at ObjectHelper.pathifyKeys (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:12005:30)
at ObjectHelper.pathifyKeys (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:12005:30)
at ObjectHelper.pathifyKeys (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:12005:30)
at ObjectHelper.pathifyKeys (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:12005:30)
at ObjectHelper.pathifyKeys (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:12005:30)
at ObjectHelper.pathifyKeys (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:12005:30)
at ObjectHelper.pathifyKeys (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:12005:30)
at ObjectHelper.pathifyKeys (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:12005:30)

Thanks


Re: split task

Posted: Mon Oct 31, 2022 6:36 pm
by Terence

Thank you for the report! Something is not right there. I created a ticket.

https://github.com/bryntum/odoo-support/issues/90


Re: split task

Posted: Fri Dec 30, 2022 11:35 am
by christos

What is needed so that split task feature can be supported by odoo ?
Thank you


Re: split task

Posted: Fri Dec 30, 2022 9:29 pm
by Terence

We currently do not support it in the backend. The segments need to be saved and returned by the controller. We are going to implement it in the (target) upcoming release. For now we have disabled the feature.


Re: split task

Posted: Mon Jan 02, 2023 12:05 pm
by christos

Hi again, have you got any target date for the next release that corrects this problem?
Many thanks!


Re: split task

Posted: Mon Jan 02, 2023 12:20 pm
by Terence

This week or next week.


Re: split task

Posted: Mon Jan 02, 2023 12:21 pm
by christos

That's great, thank you!