-
- Downloads
[FIX] web: Display Header/Footer company details on Contact reports
Issue
- Install "Contacts" and "Studio" modules
- Go to "Contacts" and switch to Studio
- Go to "Reports" tab
- Create a new report
- Select "External" layout
Header and footer are missing on report.
Cause
Header is displayed if 'company' has a value.
However, here, we only check if 'company_id' is available
in current record fields, not checking if also set.
Solution
Check that 'company_id' is set on current record, else,
fallback on 'res_company'.
opw-2443234
closes odoo/odoo#65140
Signed-off-by:
bon-odoo <nboulif@users.noreply.github.com>
Please register or sign in to comment