From 5c215ff91a9c4a36855de93e79c56a6d003401c0 Mon Sep 17 00:00:00 2001 From: Alfredo Date: Mon, 16 Dec 2024 11:46:37 +0100 Subject: [PATCH] [16.0][ADD] stock_picking_batch_package: New report "Picking Batch By Package". --- stock_picking_batch_package/README.rst | 3 +- stock_picking_batch_package/__manifest__.py | 3 +- stock_picking_batch_package/i18n/en_US.po | 242 +++++++++++++++++ stock_picking_batch_package/i18n/es.po | 141 +++++++++- .../i18n/stock_picking_batch_package.pot | 125 ++++++++- .../models/stock_picking_batch.py | 2 + .../stock_picking_batch_by_package_report.xml | 252 ++++++++++++++++++ .../views/stock_picking_batch_view.xml | 16 ++ 8 files changed, 775 insertions(+), 9 deletions(-) create mode 100644 stock_picking_batch_package/i18n/en_US.po create mode 100644 stock_picking_batch_package/report/stock_picking_batch_by_package_report.xml diff --git a/stock_picking_batch_package/README.rst b/stock_picking_batch_package/README.rst index dc6e4e43cf..456509ecaf 100644 --- a/stock_picking_batch_package/README.rst +++ b/stock_picking_batch_package/README.rst @@ -8,7 +8,8 @@ Stock Picking Batch Package * Transporter field in the stock picking batch. * Number of packages and shipping weight compute fields in stock picking batch. -* Report for stock picking batch. +* New reports for stock picking batch: "Picking Batch With Package" and + "Picking Batch By Package". Bug Tracker =========== diff --git a/stock_picking_batch_package/__manifest__.py b/stock_picking_batch_package/__manifest__.py index c8cd512176..30d2173207 100644 --- a/stock_picking_batch_package/__manifest__.py +++ b/stock_picking_batch_package/__manifest__.py @@ -2,7 +2,7 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { "name": "Stock Picking Batch Package", - "version": "16.0.1.0.0", + "version": "16.0.1.1.0", "author": "AvanzOSC", "category": "Inventory", "website": "https://github.com/avanzosc/odoo-addons", @@ -16,6 +16,7 @@ "views/stock_picking_view.xml", "report/batch_report.xml", "report/picking_report_template.xml", + "report/stock_picking_batch_by_package_report.xml", ], "license": "AGPL-3", "installable": True, diff --git a/stock_picking_batch_package/i18n/en_US.po b/stock_picking_batch_package/i18n/en_US.po new file mode 100644 index 0000000000..f269827bc0 --- /dev/null +++ b/stock_picking_batch_package/i18n/en_US.po @@ -0,0 +1,242 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_picking_batch_package +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-12-16 10:22+0000\n" +"PO-Revision-Date: 2024-12-16 10:22+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: stock_picking_batch_package +#: model:ir.actions.report,print_report_name:stock_picking_batch_package.action_report_picking_batch_by_packaging +msgid "'Picking batch - %s by package' % (object.name)" +msgstr "" + +#. module: stock_picking_batch_package +#: model:ir.actions.report,print_report_name:stock_picking_batch_package.action_report_pickingbatch +msgid "'Picking batch - %s' % (object.name)" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_total_package +msgid " (" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_package_info +msgid " - " +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_total_package +msgid "" +")\n" +" \n" +" Box weight: \n" +" " +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_package_info +msgid "Box Number: " +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_total_package +msgid "x" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_total_package +msgid "" +"\n" +" Box Measurements: \n" +" " +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_package_info +msgid "" +"\n" +" Without Box\n" +" " +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.external_layout_standard_pickingbatch +msgid "Date:" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Gross weight:" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Net weight:" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Number of packages:" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Responsible:" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_pickingbatch_document +msgid "Total:" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.external_layout_standard_pickingbatch +msgid "Transporter:" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_pickingbatch_document +msgid "ADDRESSEE" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Barcode" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Batch :" +msgstr "" + +#. module: stock_picking_batch_package +#: model:ir.model,name:stock_picking_batch_package.model_stock_picking_batch +msgid "Batch Transfer" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_pickingbatch_document +msgid "CITY" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_pickingbatch_document +msgid "COUNTRY" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_pickingbatch_document +msgid "DIRECTION" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.view_picking_tree_batch +msgid "Delivery Address" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.external_layout_standard_pickingbatch +msgid "Logo" +msgstr "" + +#. module: stock_picking_batch_package +#: model:ir.model.fields,field_description:stock_picking_batch_package.field_stock_picking_batch__number_of_packages +msgid "Number of Packages" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Order" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_pickingbatch_document +msgid "PACKAGES" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.external_layout_standard_pickingbatch +msgid "Page: / " +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Picking" +msgstr "" + +#. module: stock_picking_batch_package +#: model:ir.actions.report,name:stock_picking_batch_package.action_report_picking_batch_by_packaging +msgid "Picking Batch By Package" +msgstr "" + +#. module: stock_picking_batch_package +#: model:ir.actions.report,name:stock_picking_batch_package.action_report_pickingbatch +msgid "Picking Batch With Package" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Product" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Product Code" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Quantity" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_pickingbatch_document +msgid "STATE" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.view_picking_tree_batch +msgid "Shipping Method" +msgstr "" + +#. module: stock_picking_batch_package +#: model:ir.model.fields,field_description:stock_picking_batch_package.field_stock_picking_batch__shipping_weight +msgid "Shipping Weight" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_pickingbatch_document +msgid "TRANSFER" +msgstr "" + +#. module: stock_picking_batch_package +#: model:ir.model.fields,field_description:stock_picking_batch_package.field_stock_picking_batch__partner_id +msgid "Transporter" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_pickingbatch_document +msgid "WEIGHT/KG" +msgstr "" + +#. module: stock_picking_batch_package +#: model:ir.model.fields,field_description:stock_picking_batch_package.field_stock_picking_batch__gross_weight_of_shipping +msgid "Gross Weight Of Shipping" +msgstr "" + +#. module: stock_picking_batch_package +#: model:ir.model.fields,field_description:stock_picking_batch_package.field_stock_picking_batch__net_weight_of_shipping +msgid "Net Weight Of Shipping" +msgstr "" + diff --git a/stock_picking_batch_package/i18n/es.po b/stock_picking_batch_package/i18n/es.po index b0e1eb9d73..e9ff58d317 100644 --- a/stock_picking_batch_package/i18n/es.po +++ b/stock_picking_batch_package/i18n/es.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-09-27 09:49+0000\n" -"PO-Revision-Date: 2024-09-27 09:49+0000\n" +"POT-Creation-Date: 2024-12-16 10:22+0000\n" +"PO-Revision-Date: 2024-12-16 10:22+0000\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -15,20 +15,100 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" +#. module: stock_picking_batch_package +#: model:ir.actions.report,print_report_name:stock_picking_batch_package.action_report_picking_batch_by_packaging +msgid "'Picking batch - %s by package' % (object.name)" +msgstr "'Agrupación albaranes - %s por paquete' % (object.name)" + #. module: stock_picking_batch_package #: model:ir.actions.report,print_report_name:stock_picking_batch_package.action_report_pickingbatch msgid "'Picking batch - %s' % (object.name)" msgstr "'Agrupación de albaranes - %s' % (object.name)" +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_total_package +msgid " (" +msgstr " (" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_package_info +msgid " - " +msgstr " - " + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_total_package +msgid "" +")\n" +" \n" +" Box weight: \n" +" " +msgstr "" +")\n" +" \n" +" Peso de la caja: \n" +" " + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_package_info +msgid "Box Number: " +msgstr "Nº Caja: " + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_total_package +msgid "x" +msgstr "x" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_total_package +msgid "" +"\n" +" Box Measurements: \n" +" " +msgstr "" +"\n" +" Medidas de la caja: \n" +" " + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_package_info +msgid "" +"\n" +" Without Box\n" +" " +msgstr "" +"\n" +" Sin caja\n" +" " + #. module: stock_picking_batch_package #: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.external_layout_standard_pickingbatch msgid "Date:" msgstr "Fecha:" +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Gross weight:" +msgstr "Peso bruto:" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Net weight:" +msgstr "Peso neto:" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Number of packages:" +msgstr "Nº Bultos:" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Responsible:" +msgstr "Responsable:" + #. module: stock_picking_batch_package #: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_pickingbatch_document msgid "Total:" -msgstr "" +msgstr "Total:" #. module: stock_picking_batch_package #: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.external_layout_standard_pickingbatch @@ -40,10 +120,20 @@ msgstr "Transporte:" msgid "ADDRESSEE" msgstr "DESTINATARIO" +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Barcode" +msgstr "Cód. Barras" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Batch :" +msgstr "Batch: " + #. module: stock_picking_batch_package #: model:ir.model,name:stock_picking_batch_package.model_stock_picking_batch msgid "Batch Transfer" -msgstr "Agrupación de albarán" +msgstr "Traslado por lote" #. module: stock_picking_batch_package #: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_pickingbatch_document @@ -68,13 +158,18 @@ msgstr "Dirección de entrega" #. module: stock_picking_batch_package #: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.external_layout_standard_pickingbatch msgid "Logo" -msgstr "" +msgstr "Logo" #. module: stock_picking_batch_package #: model:ir.model.fields,field_description:stock_picking_batch_package.field_stock_picking_batch__number_of_packages msgid "Number of Packages" msgstr "Número de bultos" +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Order" +msgstr "Pedido" + #. module: stock_picking_batch_package #: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_pickingbatch_document msgid "PACKAGES" @@ -85,11 +180,36 @@ msgstr "BULTOS" msgid "Page: / " msgstr "Página: / " +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Picking" +msgstr "Albarán" + +#. module: stock_picking_batch_package +#: model:ir.actions.report,name:stock_picking_batch_package.action_report_picking_batch_by_packaging +msgid "Picking Batch By Package" +msgstr "Agrupación albarán por paquete" + #. module: stock_picking_batch_package #: model:ir.actions.report,name:stock_picking_batch_package.action_report_pickingbatch msgid "Picking Batch With Package" msgstr "Agrupación de albaranes con paquetes" +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Product" +msgstr "Producto" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Product Code" +msgstr "Código producto" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Quantity" +msgstr "Cantidad" + #. module: stock_picking_batch_package #: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_pickingbatch_document msgid "STATE" @@ -119,3 +239,14 @@ msgstr "Transportista" #: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_pickingbatch_document msgid "WEIGHT/KG" msgstr "PESO/KG" + +#. module: stock_picking_batch_package +#: model:ir.model.fields,field_description:stock_picking_batch_package.field_stock_picking_batch__gross_weight_of_shipping +msgid "Gross Weight Of Shipping" +msgstr "Peso bruto del envío" + +#. module: stock_picking_batch_package +#: model:ir.model.fields,field_description:stock_picking_batch_package.field_stock_picking_batch__net_weight_of_shipping +msgid "Net Weight Of Shipping" +msgstr "Peso neto del envío" + diff --git a/stock_picking_batch_package/i18n/stock_picking_batch_package.pot b/stock_picking_batch_package/i18n/stock_picking_batch_package.pot index 82f44be7c1..7abcee5531 100644 --- a/stock_picking_batch_package/i18n/stock_picking_batch_package.pot +++ b/stock_picking_batch_package/i18n/stock_picking_batch_package.pot @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-09-27 09:49+0000\n" -"PO-Revision-Date: 2024-09-27 09:49+0000\n" +"POT-Creation-Date: 2024-12-16 10:21+0000\n" +"PO-Revision-Date: 2024-12-16 10:21+0000\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -15,16 +15,86 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" +#. module: stock_picking_batch_package +#: model:ir.actions.report,print_report_name:stock_picking_batch_package.action_report_picking_batch_by_packaging +msgid "'Picking batch - %s by package' % (object.name)" +msgstr "" + #. module: stock_picking_batch_package #: model:ir.actions.report,print_report_name:stock_picking_batch_package.action_report_pickingbatch msgid "'Picking batch - %s' % (object.name)" msgstr "" +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_total_package +msgid " (" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_package_info +msgid " - " +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_total_package +msgid "" +")\n" +" \n" +" Box weight: \n" +" " +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_package_info +msgid "Box Number: " +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_total_package +msgid "x" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_total_package +msgid "" +"\n" +" Box Measurements: \n" +" " +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_package_info +msgid "" +"\n" +" Without Box\n" +" " +msgstr "" + #. module: stock_picking_batch_package #: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.external_layout_standard_pickingbatch msgid "Date:" msgstr "" +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Gross weight:" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Net weight:" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Number of packages:" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Responsible:" +msgstr "" + #. module: stock_picking_batch_package #: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_pickingbatch_document msgid "Total:" @@ -40,6 +110,16 @@ msgstr "" msgid "ADDRESSEE" msgstr "" +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Barcode" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Batch :" +msgstr "" + #. module: stock_picking_batch_package #: model:ir.model,name:stock_picking_batch_package.model_stock_picking_batch msgid "Batch Transfer" @@ -75,6 +155,11 @@ msgstr "" msgid "Number of Packages" msgstr "" +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Order" +msgstr "" + #. module: stock_picking_batch_package #: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_pickingbatch_document msgid "PACKAGES" @@ -85,11 +170,36 @@ msgstr "" msgid "Page: / " msgstr "" +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Picking" +msgstr "" + +#. module: stock_picking_batch_package +#: model:ir.actions.report,name:stock_picking_batch_package.action_report_picking_batch_by_packaging +msgid "Picking Batch By Package" +msgstr "" + #. module: stock_picking_batch_package #: model:ir.actions.report,name:stock_picking_batch_package.action_report_pickingbatch msgid "Picking Batch With Package" msgstr "" +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Product" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Product Code" +msgstr "" + +#. module: stock_picking_batch_package +#: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_picking_batch_by_packaging_document +msgid "Quantity" +msgstr "" + #. module: stock_picking_batch_package #: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_pickingbatch_document msgid "STATE" @@ -119,3 +229,14 @@ msgstr "" #: model_terms:ir.ui.view,arch_db:stock_picking_batch_package.report_pickingbatch_document msgid "WEIGHT/KG" msgstr "" + +#. module: stock_picking_batch_package +#: model:ir.model.fields,field_description:stock_picking_batch_package.field_stock_picking_batch__gross_weight_of_shipping +msgid "Gross Weight Of Shipping" +msgstr "" + +#. module: stock_picking_batch_package +#: model:ir.model.fields,field_description:stock_picking_batch_package.field_stock_picking_batch__net_weight_of_shipping +msgid "Net Weight Of Shipping" +msgstr "" + diff --git a/stock_picking_batch_package/models/stock_picking_batch.py b/stock_picking_batch_package/models/stock_picking_batch.py index e2b76350ac..98f031da46 100644 --- a/stock_picking_batch_package/models/stock_picking_batch.py +++ b/stock_picking_batch_package/models/stock_picking_batch.py @@ -23,6 +23,8 @@ def set_domain_for_partner_id(self): string="Number of Packages", compute="_compute_number_of_packages" ) shipping_weight = fields.Float(compute="_compute_shipping_weight") + gross_weight_of_shipping = fields.Float() + net_weight_of_shipping = fields.Float() def _compute_number_of_packages(self): for transfer in self: diff --git a/stock_picking_batch_package/report/stock_picking_batch_by_package_report.xml b/stock_picking_batch_package/report/stock_picking_batch_by_package_report.xml new file mode 100644 index 0000000000..b7968130bd --- /dev/null +++ b/stock_picking_batch_package/report/stock_picking_batch_by_package_report.xml @@ -0,0 +1,252 @@ + + + + + + + + + + + + + + Picking Batch By Package + stock.picking.batch + qweb-pdf + stock_picking_batch_package.report_picking_batch_by_packaging + stock_picking_batch_package.report_picking_batch_by_packaging + 'Picking batch - %s by package' % (object.name) + + report + + diff --git a/stock_picking_batch_package/views/stock_picking_batch_view.xml b/stock_picking_batch_package/views/stock_picking_batch_view.xml index 72969d6faf..c441fac102 100644 --- a/stock_picking_batch_package/views/stock_picking_batch_view.xml +++ b/stock_picking_batch_package/views/stock_picking_batch_view.xml @@ -9,6 +9,22 @@ + +
+ + + + + + + + stock.picking.batch + + + + + +