f979bc686d0f8a0c58d6682946b830c2e908060b
Bug: in Odoo 19, `required="1"` on a field inside an `invisible="..."` group still triggers the missing-required-field flag — paints the whole tab red on EVERY WO regardless of whether the field is shown. Symptom: Process Details tab was red on masking, racking, oven, etc. because the rack and mask groups' required fields were always flagged as missing even when their parent group was hidden. Fix: switch `required="1"` to `required="x_fc_wo_kind == 'rack'"` and `required="x_fc_wo_kind == 'mask'"` so the required flag only fires when the field is actually relevant. Matches the existing pattern on bath/tank/oven (`required="x_fc_requires_bath"` etc.). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Description
Odoo 19 custom modules
Languages
Python
55.9%
HTML
26.1%
JavaScript
14.9%
SCSS
1.8%
CSS
0.8%
Other
0.4%