field-service
field-service copied to clipboard
[17.0] [FIX] fieldservice_recurring: order creation vals
This change prevents calling fsm_order._onchange_template_id() right after creating a new fsm_order from the fsm_recurring
Previously, the scheduled_duration and team_id fields were set to the order template value in the onchange method, which changes the value initially returned by the fsm_recurring._prepare_order_values() method.
Hi @wolfhall, @max3903, some modules you are maintaining are being modified, check this out!
@ivantodorovich I updated this one with some tests