[fix] width with german translation and make everything pdf again

This commit is contained in:
Niels Göttsch 2024-07-01 22:21:33 +02:00
parent 3b4b3f49ff
commit 0fb12905ea
5 changed files with 41 additions and 25 deletions

View file

@ -6,16 +6,16 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-06 17:06+0000\n"
"PO-Revision-Date: 2024-06-06 19:10+0200\n"
"POT-Creation-Date: 2024-07-01 20:16+0000\n"
"PO-Revision-Date: 2024-07-01 22:18+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: de\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.4.2\n"
"X-Generator: Poedit 3.4.4\n"
#. module: nfu_ekg_stock
#: model:ir.actions.report,print_report_name:nfu_ekg_stock.action_report_ekg_delivery
@ -40,6 +40,11 @@ msgid ""
msgstr ""
"'EKG Packliste - %s - %s' % (object.partner_id.name or '', object.name)"
#. module: nfu_ekg_stock
#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_delivery_document
msgid "<strong>Available</strong>"
msgstr "<strong>Verfügbar</strong>"
#. module: nfu_ekg_stock
#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_delivery_document
msgid "<strong>Batch Size</strong>"
@ -47,12 +52,6 @@ msgstr "<strong>Gebindegröße</strong>"
#. module: nfu_ekg_stock
#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_delivery_document
msgid "<strong>Ordered</strong>"
msgstr "<strong>Bestellt</strong>"
#. module: nfu_ekg_stock
#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_delivery_document
#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_packing_list
msgid "<strong>Product</strong>"
msgstr "<strong>Produkt</strong>"
@ -66,6 +65,11 @@ msgstr "<strong>Menge</strong>"
msgid "<strong>Signature</strong>"
msgstr "<strong>Unterschrift</strong>"
#. module: nfu_ekg_stock
#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_packing_list
msgid "Batch<br/>Size"
msgstr "Gebinde<br/>größe"
#. module: nfu_ekg_stock
#: model:ir.actions.report,name:nfu_ekg_stock.action_report_ekg_delivery
msgid "EKG Delivery Slip"
@ -80,3 +84,13 @@ msgstr "EKG kompakter Lieferschein"
#: model:ir.actions.report,name:nfu_ekg_stock.action_report_ekg_packing_list
msgid "EKG Packing List"
msgstr "EKG Packliste"
#. module: nfu_ekg_stock
#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_packing_list
msgid "Internal<br/>Reference"
msgstr "Artikel<br/>nummer"
#. module: nfu_ekg_stock
#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_packing_list
msgid "Product"
msgstr "Produkt"

View file

@ -30,7 +30,7 @@
<record id="action_report_ekg_delivery" model="ir.actions.report">
<field name="name">EKG Delivery Slip</field>
<field name="model">stock.picking</field>
<field name="report_type">qweb-html</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">nfu_ekg_stock.report_ekg_deliveryslip</field>
<field name="report_file">nfu_ekg_stock.report_deliveryslip</field>
<field

View file

@ -1,13 +1,12 @@
td.batch,
th.batch {
width: 80px;
max-width: 80px;
width: 90px;
max-width: 90px;
white-space: nowrap;
}
th.qty {
width: 60px;
max-width: 60px;
max-width: 100px;
white-space: nowrap;
}
@ -22,13 +21,17 @@ th.code {
max-width: 60px;
}
th.packaging {
max-width: 70px;
}
td.product {
max-width: 160px;
max-width: 150px;
font-size: smaller;
}
td.packaging {
max-width: 160px;
max-width: 70px;
font-size: x-small;
}

View file

@ -29,12 +29,11 @@
</t>
</td>
<td>
<span t-field="move.product_id.name"/>
<p
<span t-field="move.product_id.name"/><br/>
<span
t-if="move.description_picking != move.product_id.name and move.description_picking != move.product_id.display_name"
>
<span t-field="move.description_picking"/>
</p>
t-field="move.description_picking"
/>
</td>
<td class="text-end">
<span t-field="move.forecast_availability"/>

View file

@ -19,9 +19,9 @@
<table class="table table-bordered table-sm w-auto border-dark" name="nfu_ekg_packing_list">
<thead>
<tr>
<th class="product align-top"><strong>Product</strong></th>
<th class="code align-top text-truncate"><strong>Internal<br/> Reference</strong></th>
<th class="partner align-top text-truncate"><strong>Batch Size</strong></th>
<th class="product align-top text-start">Product</th>
<th class="code align-top text-truncate">Internal<br/>Reference</th>
<th class="packaging align-top text-truncate">Batch<br/>Size</th>
<t t-foreach="partner_chunk" t-as="partner">
<th class="partner align-top"><div class="text-truncate">
<t t-esc="partner.lastname"/><br/>