Skip to content
Snippets Groups Projects
Commit 481f442f authored by Maximilien (malb)'s avatar Maximilien (malb)
Browse files

[FIX] l10n_de: din5008

During this pr (https://github.com/odoo/odoo/pull/121413

), we have made a few
css changes on the din5008 format, some of them needed to be revert because they
 broke the layout.

closes odoo/odoo#134833

Task: 3495712
X-original-commit: c120d138
Signed-off-by: default avatarFlorian Gilbert (flg) <flg@odoo.com>
Signed-off-by: default avatarMaximilien La Barre (malb) <malb@odoo.com>
parent fad9d559
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@
<template id="external_layout_din5008">
<div>
<div t-attf-class="header din_page o_company_#{company.id}_layout">
<table class="company_header">
<table class="company_header" t-att-style="'height: %dmm;' % (din_header_spacing or 27)">
<tr>
<td><h3 class="mt0" t-field="company.report_header"/></td>
<td><img t-if="company.logo" t-att-src="image_data_uri(company.logo)" t-att-style="'max-height: %dmm;' % (din_header_spacing or 27)"/></td>
......
.din_page {
margin-left: -1rem;
font-size: 9pt;
.container-fluid & { // center the invoice in portal preview
......@@ -6,7 +7,6 @@
margin-right: auto;
}
&.header {
margin-left: 10px;
table {
width: 100%;
img, h3, div.h3, td, tr {
......@@ -25,8 +25,7 @@
}
}
&.invoice_note {
padding-top: 10px;
margin-left: 10px;
padding-top: 20px;
tr {
td {
vertical-align: bottom;
......@@ -89,7 +88,7 @@
}
}
&.footer {
margin-left: 10px;
padding-left: 5mm;
padding-right: 10mm;
.page_number {
margin-top: 4.23mm;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment