diff --git a/nfu_ekg_stock/README.rst b/nfu_ekg_stock/README.rst index fd08dd9..0340d2b 100644 --- a/nfu_ekg_stock/README.rst +++ b/nfu_ekg_stock/README.rst @@ -34,7 +34,9 @@ Changelog ========= -:1.0.0: Initial module. +:1.0.0 Initial module. +:1.0.1 Add EKG Delivery Sip +:1.0.0 Add Packing List Bug Tracker =========== diff --git a/nfu_ekg_stock/__manifest__.py b/nfu_ekg_stock/__manifest__.py index 62294a8..6423ef2 100644 --- a/nfu_ekg_stock/__manifest__.py +++ b/nfu_ekg_stock/__manifest__.py @@ -4,9 +4,14 @@ "author": "BAKEUP", "website": "https://www.bakeup.org", "category": "Stock", - "version": "16.0.1.0.1", - "depends": ["stock"], - "data": ["views/report_deliveryslip.xml", "views/report_deliveryslip_compact.xml", "report/stock_report_views.xml"], + "version": "16.0.1.0.2", + "depends": ["stock", "partner_firstname"], + "data": [ + "views/report_deliveryslip.xml", + "views/report_deliveryslip_compact.xml", + "views/report_packing_list.xml", + "report/stock_report_views.xml", + ], "assets": {"web.report_assets_common": ["nfu_ekg_stock/static/src/scss/report_stock_rule.scss"]}, "license": "LGPL-3", "application": True, diff --git a/nfu_ekg_stock/i18n/de.po b/nfu_ekg_stock/i18n/de.po new file mode 100644 index 0000000..96ced53 --- /dev/null +++ b/nfu_ekg_stock/i18n/de.po @@ -0,0 +1,96 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * nfu_ekg_stock +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \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: 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.4\n" + +#. module: nfu_ekg_stock +#: model:ir.actions.report,print_report_name:nfu_ekg_stock.action_report_ekg_delivery +msgid "" +"'EKG Delivery Slip - %s - %s' % (object.partner_id.name or '', object.name)" +msgstr "" +"'EKG Lieferschein - %s - %s' % (object.partner_id.name or '', object.name)" + +#. module: nfu_ekg_stock +#: model:ir.actions.report,print_report_name:nfu_ekg_stock.action_report_ekg_delivery_compact +msgid "" +"'EKG Delivery Slip Compact - %s - %s' % (object.partner_id.name or '', " +"object.name)" +msgstr "" +"'EKG kompakter Lieferschein - %s - %s' % (object.partner_id.name or '', " +"object.name)" + +#. module: nfu_ekg_stock +#: model:ir.actions.report,print_report_name:nfu_ekg_stock.action_report_ekg_packing_list +msgid "" +"'EKG Packing List - %s - %s' % (object.partner_id.name or '', object.name)" +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 "Available" +msgstr "Verfügbar" + +#. module: nfu_ekg_stock +#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_delivery_document +msgid "Batch Size" +msgstr "Gebindegröße" + +#. module: nfu_ekg_stock +#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_delivery_document +msgid "Product" +msgstr "Produkt" + +#. module: nfu_ekg_stock +#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_delivery_compact_document +msgid "Qty" +msgstr "Menge" + +#. module: nfu_ekg_stock +#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_delivery_document +msgid "Signature" +msgstr "Unterschrift" + +#. module: nfu_ekg_stock +#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_packing_list +msgid "Batch
Size" +msgstr "Gebinde
größe" + +#. module: nfu_ekg_stock +#: model:ir.actions.report,name:nfu_ekg_stock.action_report_ekg_delivery +msgid "EKG Delivery Slip" +msgstr "EKG Lieferschein" + +#. module: nfu_ekg_stock +#: model:ir.actions.report,name:nfu_ekg_stock.action_report_ekg_delivery_compact +msgid "EKG Delivery Slip Compact" +msgstr "EKG kompakter Lieferschein" + +#. module: nfu_ekg_stock +#: 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
Reference" +msgstr "Artikel
nummer" + +#. module: nfu_ekg_stock +#: model_terms:ir.ui.view,arch_db:nfu_ekg_stock.report_ekg_packing_list +msgid "Product" +msgstr "Produkt" diff --git a/nfu_ekg_stock/readme/HISTORY.rst b/nfu_ekg_stock/readme/HISTORY.rst index 962941f..4fc6b90 100644 --- a/nfu_ekg_stock/readme/HISTORY.rst +++ b/nfu_ekg_stock/readme/HISTORY.rst @@ -1,2 +1,4 @@ -:1.0.0: Initial module. \ No newline at end of file +:1.0.0 Initial module. +:1.0.1 Add EKG Delivery Sip +:1.0.0 Add Packing List \ No newline at end of file diff --git a/nfu_ekg_stock/report/stock_report_views.xml b/nfu_ekg_stock/report/stock_report_views.xml index a5f1605..f70dfad 100644 --- a/nfu_ekg_stock/report/stock_report_views.xml +++ b/nfu_ekg_stock/report/stock_report_views.xml @@ -1,14 +1,69 @@ + + + Custom Paperformat for the packaging list report + + + A4 + Landscape + 10 + 8 + 5 + 5 + 90 + + + + EKG Packing List + stock.picking + qweb-pdf + + nfu_ekg_stock.report_ekg_packing_list + nfu_ekg_stock.report_packing_list + 'EKG Packing List - %s - %s' % (object.partner_id.name or '', object.name) + + report + + + + EKG Packing List LF + stock.picking + qweb-pdf + + nfu_ekg_stock.report_ekg_packing_list_lf + nfu_ekg_stock.report_packing_list + 'EKG Packing List - %s - %s' % (object.partner_id.name or '', object.name) + + report + + EKG Delivery Slip stock.picking qweb-pdf nfu_ekg_stock.report_ekg_deliveryslip - nfu_ekg_stock.report_ekg_deliveryslip + nfu_ekg_stock.report_deliveryslip 'EKG Delivery Slip - %s - %s' % (object.partner_id.name or '', object.name) + >'EKG Delivery Slip - %s, %s - %s' % (object.partner_id.lastname or '',object.partner_id.firstname or '', object.name) + + report + + + + EKG Delivery Slip LF + stock.picking + qweb-pdf + nfu_ekg_stock.report_ekg_deliveryslip_lf + nfu_ekg_stock.report_deliveryslip + 'EKG Delivery Slip - %s, %s - %s' % (object.partner_id.lastname or '',object.partner_id.firstname or '', object.name) report @@ -18,12 +73,12 @@ stock.picking qweb-pdf nfu_ekg_stock.report_ekg_deliveryslip_compact - nfu_ekg_stock.report_ekg_deliveryslip_compact + nfu_ekg_stock.report_deliveryslip_compact 'EKG Delivery Slip Compact - %s - %s' % (object.partner_id.name or '', object.name) report - + diff --git a/nfu_ekg_stock/static/description/index.html b/nfu_ekg_stock/static/description/index.html index c2869fb..197c8a8 100644 --- a/nfu_ekg_stock/static/description/index.html +++ b/nfu_ekg_stock/static/description/index.html @@ -386,14 +386,9 @@ ul.auto-toc {

Changelog

- --- - - - -
1.0.0:Initial module.
+

:1.0.0 Initial module. +:1.0.1 Add EKG Delivery Sip +:1.0.0 Add Packing List

Bug Tracker

diff --git a/nfu_ekg_stock/static/src/scss/report_stock_rule.scss b/nfu_ekg_stock/static/src/scss/report_stock_rule.scss index f2428fa..85ceae6 100644 --- a/nfu_ekg_stock/static/src/scss/report_stock_rule.scss +++ b/nfu_ekg_stock/static/src/scss/report_stock_rule.scss @@ -1,8 +1,43 @@ -td.fit, -th.fit { - width: 0; +td.batch, +th.batch { + width: 90px; + max-width: 90px; white-space: nowrap; - min-width: fit-content; +} + +th.qty { + max-width: 100px; + white-space: nowrap; +} + +th.partner { + min-width: 80px; + max-width: 80px; + white-space: nowrap; + text-align: left; +} + +th.code { + max-width: 60px; +} + +th.packaging { + max-width: 70px; +} + +td.product { + max-width: 150px; + font-size: smaller; +} + +td.packaging { + max-width: 70px; + font-size: x-small; +} + +td.code { + max-width: 60px; + font-size: xx-small; } .scissors { diff --git a/nfu_ekg_stock/views/report_deliveryslip.xml b/nfu_ekg_stock/views/report_deliveryslip.xml index 247716f..1f8adfd 100644 --- a/nfu_ekg_stock/views/report_deliveryslip.xml +++ b/nfu_ekg_stock/views/report_deliveryslip.xml @@ -7,37 +7,41 @@
-
+
- + + , + + + +
- +
- - - + + + - - @@ -68,4 +72,16 @@ + + + diff --git a/nfu_ekg_stock/views/report_packing_list.xml b/nfu_ekg_stock/views/report_packing_list.xml new file mode 100644 index 0000000..8161f45 --- /dev/null +++ b/nfu_ekg_stock/views/report_packing_list.xml @@ -0,0 +1,78 @@ + + + + + + + + +
Batch SizeProductOrderedBatch SizeProductAvailable
- - - + + + + - -


+ - -

+ t-field="move.description_picking" + />
- + +