Skip to content
Snippets Groups Projects
Commit c120d138 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#134775

Task: 3495712
Signed-off-by: default avatarFlorian Gilbert (flg) <flg@odoo.com>
parent 42674464
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,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;
&.header {
margin-left: 10px;
table {
width: 100%;
img, h3, td, tr {
......@@ -22,8 +22,7 @@
}
&.invoice_note {
padding-top: 10px;
margin-left: 10px;
padding-top: 20px;
tr {
td {
vertical-align: bottom;
......@@ -86,7 +85,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