diff options
| author | Arnaud Joset <arj@odoo.com> | 2020-05-12 12:57:15 +0000 |
|---|---|---|
| committer | Arnaud Joset <arj@odoo.com> | 2020-06-02 11:49:22 +0000 |
| commit | d4eb8099eba25ea44c493188056b3efbdb9f1f29 (patch) | |
| tree | 5edef8106456f2a28169343e3d12f69accd050c3 /addons | |
| parent | 6330d31dbef00447647002e55fa33c207a8529ad (diff) | |
[IMP] web: PDF report : fix the cropped address when street2field is filled
before this commit, the address would be cropped if it had too much lines.
Taskid: 2198488
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/web/views/report_templates.xml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/addons/web/views/report_templates.xml b/addons/web/views/report_templates.xml index 275facfe1d9..5aa7154fffa 100644 --- a/addons/web/views/report_templates.xml +++ b/addons/web/views/report_templates.xml @@ -203,7 +203,10 @@ </div> <div t-attf-class="article o_report_layout_boxed o_company_#{company.id}_layout" t-att-data-oe-model="o and o._name" t-att-data-oe-id="o and o.id" t-att-data-oe-lang="o and o.env.context.get('lang')"> - <t t-call="web.address_layout"/> + <div class="pt-5"> + <!-- This div ensures that the address is not cropped by the header. --> + <t t-call="web.address_layout"/> + </div> <t t-raw="0"/> </div> @@ -292,7 +295,10 @@ </div> <div t-attf-class="article o_report_layout_standard o_company_#{company.id}_layout" t-att-data-oe-model="o and o._name" t-att-data-oe-id="o and o.id" t-att-data-oe-lang="o and o.env.context.get('lang')"> - <t t-call="web.address_layout"/> + <div class="pt-5"> + <!-- This div ensures that the address is not cropped by the header. --> + <t t-call="web.address_layout"/> + </div> <t t-raw="0"/> </div> |
