7a02382623d02e4397f3fc295df262e8c55a45de
The previous fix swapped t-field -> t-esc so the QWeb error stopped, but the report still printed blank. Root cause: Odoo looks up the report data model via env['report.<report_name>'], but our model was named 'report.fusion_plating_jobs.report_fp_job_margin' while the action's report_name is 'fusion_plating_jobs.report_fp_job_margin_template'. The model lookup missed, _get_report_values never fired, and the template rendered with no 'rows' in scope — empty foreach -> empty page. Renamed the model to report.fusion_plating_jobs.report_fp_job_margin_template. Verified: PDF size jumped from 1229 bytes (blank) to 125880 bytes (fully populated). HTML now contains 'Job Margin', 'Step Breakdown', and the actual WO name. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Description
Odoo 19 custom modules
Languages
Python
71.8%
JavaScript
17.4%
HTML
8.2%
SCSS
1%
CSS
0.8%
Other
0.6%