[FIX] l10n_de: fix Followup Report Letter

Install Germany - Accounting.
In General Settings, set "European A4 for DIN" as the Format and
"external_layout_din5008" as the layout.
Print Followup report letter

The report has misplaced elements, the other company address should be
present on the left and there is the extra address below the FollowUp
header.
Modifying the style to hide the address below the followup title
and the xml addon for din to fetch the address from the partner fix the
issue

opw-2187240

closes odoo/odoo#48057

X-original-commit: 2b9bf77c85c8840b9f585a59ee0ba4b8a3255120
Related: odoo/enterprise#9377
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
This commit is contained in:
Andrea Grazioso (agr-odoo)
2020-03-19 16:44:26 +00:00
parent e1b257bd8a
commit 8a6b1ed9e0
2 changed files with 9 additions and 1 deletions
+3
View File
@@ -49,6 +49,9 @@
<t t-raw="address"/>
</div>
</t>
<t t-else="fallback_address">
<div name="invoice_address" class="invoice_address" t-raw="fallback_address" t-options='{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True}' />
</t>
<div class="company_address">
<div>
<strong t-field="company.partner_id.name"/>
@@ -49,4 +49,9 @@
left: 25mm;
width: 190mm;
}
}
.o_account_reports_header {
.fallback_header {
display: none;
}
}
}