From 1ec29a40191e38bd8e904574d9a1a073e9fbc813 Mon Sep 17 00:00:00 2001 From: Unai Beristain Date: Mon, 20 Jan 2025 15:23:37 +0100 Subject: [PATCH] [ADD] stock_picking_note_delivery: Add note field in report --- .../odoo/addons/stock_picking_note_delivery | 1 + setup/stock_picking_note_delivery/setup.py | 6 ++ stock_picking_note_delivery/README.rst | 67 +++++++++++++++++++ stock_picking_note_delivery/__init__.py | 0 stock_picking_note_delivery/__manifest__.py | 14 ++++ stock_picking_note_delivery/i18n/es.po | 21 ++++++ .../stock_picking_note_delivery_view.xml | 13 ++++ 7 files changed, 122 insertions(+) create mode 120000 setup/stock_picking_note_delivery/odoo/addons/stock_picking_note_delivery create mode 100644 setup/stock_picking_note_delivery/setup.py create mode 100644 stock_picking_note_delivery/README.rst create mode 100644 stock_picking_note_delivery/__init__.py create mode 100644 stock_picking_note_delivery/__manifest__.py create mode 100644 stock_picking_note_delivery/i18n/es.po create mode 100644 stock_picking_note_delivery/views/stock_picking_note_delivery_view.xml diff --git a/setup/stock_picking_note_delivery/odoo/addons/stock_picking_note_delivery b/setup/stock_picking_note_delivery/odoo/addons/stock_picking_note_delivery new file mode 120000 index 0000000000..ad5ca05350 --- /dev/null +++ b/setup/stock_picking_note_delivery/odoo/addons/stock_picking_note_delivery @@ -0,0 +1 @@ +../../../../stock_picking_note_delivery \ No newline at end of file diff --git a/setup/stock_picking_note_delivery/setup.py b/setup/stock_picking_note_delivery/setup.py new file mode 100644 index 0000000000..28c57bb640 --- /dev/null +++ b/setup/stock_picking_note_delivery/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/stock_picking_note_delivery/README.rst b/stock_picking_note_delivery/README.rst new file mode 100644 index 0000000000..93eb59193c --- /dev/null +++ b/stock_picking_note_delivery/README.rst @@ -0,0 +1,67 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-blue.svg + :target: https://opensource.org/licenses/LGPL-3.0 + :alt: License: LGPL-3 + +========================================================== +Stock Picking Note Delivery +========================================================== + +Overview +======== + +The **Stock Picking Note Delivery** module adds a new internal note field to the **Delivery Document Report**. This note can be used to include important information that will appear on the picking operation sheet. + +Features +======== + +- **Add Internal Note Field**: + - Enhances the **Delivery Document Report** with a `note` field for adding internal comments. + +- **Printable Notes**: + - Notes added in this field will be displayed on the picking operation sheet. + +Usage +===== + +1. **Install the Module**: + - Install the **Stock Picking Note Delivery** module via the Apps menu. + +2. **Add Notes**: + - Navigate to the delivery document and use the new `note` field to add internal comments. + +3. **Print Notes**: + - Verify that the notes appear on the picking operation sheet when printed. + +Configuration +============= + +No additional configuration is required for this module. Once installed, the `note` field will automatically be available in the **Delivery Document Report** view. + +Testing +======= + +Test the following to ensure the module works as expected: + +- Verify that the `note` field is visible and editable in the **Delivery Document Report** view. +- Check that the notes appear correctly on the picking operation sheet. + +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 regarding this module, please contact the contributors. For support, please use the official issue tracker. + +License +======= + +This project is licensed under the LGPL-3 License. For more details, refer to the LICENSE file or visit . diff --git a/stock_picking_note_delivery/__init__.py b/stock_picking_note_delivery/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/stock_picking_note_delivery/__manifest__.py b/stock_picking_note_delivery/__manifest__.py new file mode 100644 index 0000000000..9e1610d2b8 --- /dev/null +++ b/stock_picking_note_delivery/__manifest__.py @@ -0,0 +1,14 @@ +{ + "name": "Stock Picking Note Delivery", + "version": "16.0.1.0.0", + "category": "Stock", + "author": "Avanzosc", + "license": "LGPL-3", + "depends": ["stock"], + "data": [ + "views/stock_picking_note_delivery_view.xml", + ], + "installable": True, + "application": False, + "website": "https://github.com/avanzosc/odoo-addons", +} diff --git a/stock_picking_note_delivery/i18n/es.po b/stock_picking_note_delivery/i18n/es.po new file mode 100644 index 0000000000..f4667685b4 --- /dev/null +++ b/stock_picking_note_delivery/i18n/es.po @@ -0,0 +1,21 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_picking_note_delivery +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2025-01-20 14:33+0000\n" +"PO-Revision-Date: 2025-01-20 14:33+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_note_delivery +#: model_terms:ir.ui.view,arch_db:stock_picking_note_delivery.stock_report_delivery_document_inherit +msgid "Note:" +msgstr "Nota:" \ No newline at end of file diff --git a/stock_picking_note_delivery/views/stock_picking_note_delivery_view.xml b/stock_picking_note_delivery/views/stock_picking_note_delivery_view.xml new file mode 100644 index 0000000000..1fe596bb86 --- /dev/null +++ b/stock_picking_note_delivery/views/stock_picking_note_delivery_view.xml @@ -0,0 +1,13 @@ + + + +