a6186120b235b5330033723fdb19989f8cef73a1
Root cause: jobs auto-created at SO confirm resolve the recipe once; if the SO line's process variant is not set at that instant (new parts, or the copy-from-quote path), the WO is created with no recipe and no steps, and setting the recipe on the line afterward never propagates (idempotency guard + no line-to-job sync). Fix (fusion_plating_jobs 19.0.12.6.0): - fp.job._fp_resync_recipe_from_so(): re-resolve recipe from the SO line(s) and build steps (mirrors action_confirm: generate, promote pending to ready, express overrides). Acts only on not-started jobs; idempotent. - action_fp_resync_recipe_from_so(): "Re-sync Recipe from SO" header button. - sale.order.line.write: when x_fc_process_variant_id changes, auto-heal the linked not-yet-started WO. Verified on entech: WO-30071-01/02 healed (recipe + 8 steps each); auto- propagation confirmed in a rolled-back transaction. Deployed in place (fusion_plating_jobs is ahead of git); same change recorded here. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Description
Odoo 19 custom modules
Languages
Python
72%
JavaScript
17.4%
HTML
8%
SCSS
1%
CSS
0.8%
Other
0.5%