Files
Odoo-Modules/fusion_plating/fusion_plating_jobs/models
gsinghpal 056178b433 fix(jobs): store=True on fp.job.active_step_id
Required because fp.job.card_state (stored) has @api.depends including
active_step_id.area_kind. When step.area_kind changes, Odoo's trigger
chain searches fp.job by active_step_id — non-stored fields can't be
queried in WHERE clauses, raising ValueError("Cannot convert ... to
SQL because it is not stored").

Caught during entech deploy of 19.0.10.25.0/post-migrate.py Phase 3
(steps._compute_area_kind() failed on first run). store=True makes
the column searchable and the trigger chain works.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-24 17:14:19 -04:00
..
2026-04-26 10:46:44 -04:00
2026-05-22 18:01:31 -04:00
2026-05-22 18:01:31 -04:00
2026-05-18 22:33:23 -04:00
2026-04-26 15:05:17 -04:00
2026-05-22 18:01:31 -04:00
2026-04-27 00:11:18 -04:00
2026-05-22 18:01:31 -04:00