Thanks for your post. I have tested the patch you mentioned. Unfortunately, the bug I described in my first post still occurs with the patch.
Note that Stuarts patch modifies the compute_working_calendar method of the resource_resource model. The end datetime calculation for workorders however uses the interval_get_multi method of the resource_calendar model. A fix similar to Stuart's one could be applied to this interval_get_multi method. This is complicated by the absence of a context parameter to interval_get_multi. This means a full fix would probably need the context to be passed all files that call the resource_calendar.interval_get_multi method.
If you need additional information please let me know.
Hi Olivier,
Thanks for your post. I have tested the patch you mentioned. Unfortunately, the bug I described in my first post still occurs with the patch.
Note that Stuarts patch modifies the compute_ working_ calendar method of the resource_resource model. The end datetime calculation for workorders however uses the interval_get_multi method of the resource_calendar model. A fix similar to Stuart's one could be applied to this interval_get_multi method. This is complicated by the absence of a context parameter to interval_get_multi. This means a full fix would probably need the context to be passed all files that call the resource_ calendar. interval_ get_multi method.
If you need additional information please let me know.
Jeroen Mollers