From 0f9c547fc197d9a78bc7ac293e87dd771476287d Mon Sep 17 00:00:00 2001 From: Unai Beristain Date: Tue, 21 Jan 2025 10:43:21 +0100 Subject: [PATCH] [ADD] stock_report_delivery_document_lot_id: Add lot in all pickings --- .../stock_report_delivery_document_lot_id | 1 + .../setup.py | 6 ++ .../README.rst | 78 +++++++++++++++++++ .../__init__.py | 0 .../__manifest__.py | 14 ++++ .../i18n/ca_ES.po | 21 +++++ .../i18n/es.po | 21 +++++ ...k_report_delivery_document_lot_id_view.xml | 38 +++++++++ 8 files changed, 179 insertions(+) create mode 120000 setup/stock_report_delivery_document_lot_id/odoo/addons/stock_report_delivery_document_lot_id create mode 100644 setup/stock_report_delivery_document_lot_id/setup.py create mode 100644 stock_report_delivery_document_lot_id/README.rst create mode 100644 stock_report_delivery_document_lot_id/__init__.py create mode 100644 stock_report_delivery_document_lot_id/__manifest__.py create mode 100644 stock_report_delivery_document_lot_id/i18n/ca_ES.po create mode 100644 stock_report_delivery_document_lot_id/i18n/es.po create mode 100644 stock_report_delivery_document_lot_id/views/stock_report_delivery_document_lot_id_view.xml diff --git a/setup/stock_report_delivery_document_lot_id/odoo/addons/stock_report_delivery_document_lot_id b/setup/stock_report_delivery_document_lot_id/odoo/addons/stock_report_delivery_document_lot_id new file mode 120000 index 0000000000..83df340294 --- /dev/null +++ b/setup/stock_report_delivery_document_lot_id/odoo/addons/stock_report_delivery_document_lot_id @@ -0,0 +1 @@ +../../../../stock_report_delivery_document_lot_id \ No newline at end of file diff --git a/setup/stock_report_delivery_document_lot_id/setup.py b/setup/stock_report_delivery_document_lot_id/setup.py new file mode 100644 index 0000000000..28c57bb640 --- /dev/null +++ b/setup/stock_report_delivery_document_lot_id/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/stock_report_delivery_document_lot_id/README.rst b/stock_report_delivery_document_lot_id/README.rst new file mode 100644 index 0000000000..eaabeae92b --- /dev/null +++ b/stock_report_delivery_document_lot_id/README.rst @@ -0,0 +1,78 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-blue.svg + :target: https://opensource.org/licenses/LGPL-3.0 + :alt: License: LGPL-3 + +============================================================== +Stock Report Delivery Document Lot ID +============================================================== + +Overview +======== + +The **Stock Report Delivery Document Lot ID** module enhances the **Delivery Document Report** by adding the ability to display lot or serial numbers for stock moves. This provides more detailed traceability for your delivery operations. + +Features +======== + +- **Display Lot/Serial Numbers**: + + - Adds a new column to the **Delivery Document Report** to show the lot or serial number of stock moves. + +- **Barcode Support**: + + - Displays barcodes for the lot/serial numbers, improving operational efficiency. + +- **Dynamic Visibility**: + + - Automatically shows the column only when lot or serial numbers are present in the stock move lines. + +Usage +===== + +1. **Install the Module**: + + - Install the **Stock Report Delivery Document Lot ID** module via the Apps menu. + +2. **Check Delivery Documents**: + + - Open any delivery document and verify the presence of the `Lot/Serial Number` column. + +3. **Barcodes for Lot/Serial Numbers**: + + - Confirm that barcodes for lot or serial numbers appear in the new column. + +Configuration +============= + +No additional configuration is needed. The module works out of the box once installed. + +Testing +======= + +Perform the following tests to ensure the module is working correctly: + +- Verify that the `Lot/Serial Number` column appears in the **Delivery Document Report** only when there are lot or serial numbers. + +- Confirm that the barcodes are correctly generated and displayed in the column. + +Bug Tracker +=========== + +If you encounter any issues, please report them on the GitHub repository at `GitHub Issues `_. + +Credits +======= + +Contributors +------------ + +* Ana Juaristi + +* Unai Beristain + +For specific questions or support, please contact the contributors. + +License +======= + +This project is licensed under the LGPL-3 License. For more details, refer to the LICENSE file or visit . diff --git a/stock_report_delivery_document_lot_id/__init__.py b/stock_report_delivery_document_lot_id/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/stock_report_delivery_document_lot_id/__manifest__.py b/stock_report_delivery_document_lot_id/__manifest__.py new file mode 100644 index 0000000000..50d8fae1c1 --- /dev/null +++ b/stock_report_delivery_document_lot_id/__manifest__.py @@ -0,0 +1,14 @@ +{ + "name": "Stock Report Delivery Document Lot ID", + "version": "16.0.1.0.0", + "category": "Stock", + "author": "Avanzosc", + "license": "LGPL-3", + "depends": ["stock"], + "data": [ + "views/stock_report_delivery_document_lot_id_view.xml", + ], + "installable": True, + "application": False, + "website": "https://github.com/avanzosc/odoo-addons", +} diff --git a/stock_report_delivery_document_lot_id/i18n/ca_ES.po b/stock_report_delivery_document_lot_id/i18n/ca_ES.po new file mode 100644 index 0000000000..c59e66f86e --- /dev/null +++ b/stock_report_delivery_document_lot_id/i18n/ca_ES.po @@ -0,0 +1,21 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_report_delivery_document_lot_id +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2025-01-21 10:09+0000\n" +"PO-Revision-Date: 2025-01-21 10:09+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_report_delivery_document_lot_id +#: model_terms:ir.ui.view,arch_db:stock_report_delivery_document_lot_id.stock_report_delivery_document_lot_id_inherit +msgid "Lot/Serial Number" +msgstr "Numero de Sèrie/Lote" diff --git a/stock_report_delivery_document_lot_id/i18n/es.po b/stock_report_delivery_document_lot_id/i18n/es.po new file mode 100644 index 0000000000..b7cedbe7ea --- /dev/null +++ b/stock_report_delivery_document_lot_id/i18n/es.po @@ -0,0 +1,21 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_report_delivery_document_lot_id +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2025-01-21 10:09+0000\n" +"PO-Revision-Date: 2025-01-21 10:09+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_report_delivery_document_lot_id +#: model_terms:ir.ui.view,arch_db:stock_report_delivery_document_lot_id.stock_report_delivery_document_lot_id_inherit +msgid "Lot/Serial Number" +msgstr "Número de Serie/Lote" \ No newline at end of file diff --git a/stock_report_delivery_document_lot_id/views/stock_report_delivery_document_lot_id_view.xml b/stock_report_delivery_document_lot_id/views/stock_report_delivery_document_lot_id_view.xml new file mode 100644 index 0000000000..7f54e5b3ef --- /dev/null +++ b/stock_report_delivery_document_lot_id/views/stock_report_delivery_document_lot_id_view.xml @@ -0,0 +1,38 @@ + + + +