[FIX] yodoo_apps_website: use kwargs form of create_children for task specs
What was broken
generic.task.queue.task.create_children() raised
ValidationError: Pass task specs positionally OR the keyword type_code / params_list shorthand, not both.
inside _collect_specs. Source-to-task-queue sync in yodoo_apps_website was
completely broken — no branch-sync tasks could be created.
Cause
The create_children contract was rewritten around TaskSpec
(generic-background-service commit 6ecf3f0). The call site in
yodoo_apps_website/services/sync_task_types.py was left on the old mixed
form (positional specs + kwargs channel), which the new contract rejects.
What was done
- Switched the call to the homogeneous kwargs form
(
type_code=,params_list=,channel=). - Added a red-first test that reproduced the failure before the fix, plus a negative control confirming the old positional form still raises.
- Bumped version
18.0.1.5.5->18.0.1.5.6.
Evidence
odoo.tests.result: 0 failed, 0 error(s) of 3 tests- flake8 clean
- pylint 10.00/10
- review: approved