diff --git a/setup/stock_picking_ddt_info/odoo/addons/stock_picking_ddt_info b/setup/stock_picking_ddt_info/odoo/addons/stock_picking_ddt_info new file mode 120000 index 00000000..b82923c7 --- /dev/null +++ b/setup/stock_picking_ddt_info/odoo/addons/stock_picking_ddt_info @@ -0,0 +1 @@ +../../../../stock_picking_ddt_info \ No newline at end of file diff --git a/setup/stock_picking_ddt_info/setup.py b/setup/stock_picking_ddt_info/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/stock_picking_ddt_info/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/stock_picking_ddt_info/README.rst b/stock_picking_ddt_info/README.rst new file mode 100644 index 00000000..9406184f --- /dev/null +++ b/stock_picking_ddt_info/README.rst @@ -0,0 +1,60 @@ +======================= +Add DDT info to picking +======================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:1feb5e04d523acbbe86a62edb10c2ddd05a2e1061cfbe36ab2a23246022a353c + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-sergiocorato%2Fe--account-lightgray.png?logo=github + :target: https://github.com/sergiocorato/e-account/tree/14.0/stock_picking_ddt_info + :alt: sergiocorato/e-account + +|badge1| |badge2| |badge3| + +This module add supplier ddt info to picking. + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Sergio Corato + +Contributors +~~~~~~~~~~~~ + +* Sergio Corato + +Maintainers +~~~~~~~~~~~ + +This module is part of the `sergiocorato/e-account `_ project on GitHub. + +You are welcome to contribute. diff --git a/stock_picking_ddt_info/__init__.py b/stock_picking_ddt_info/__init__.py new file mode 100644 index 00000000..0650744f --- /dev/null +++ b/stock_picking_ddt_info/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/stock_picking_ddt_info/__manifest__.py b/stock_picking_ddt_info/__manifest__.py new file mode 100644 index 00000000..8353bf80 --- /dev/null +++ b/stock_picking_ddt_info/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2023 Sergio Corato +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +{ + "name": "Add DDT vendor info to incoming picking", + "version": "14.0.1.0.0", + "category": "Stock Management", + "license": "AGPL-3", + "author": "Sergio Corato", + "website": "https://github.com/sergiocorato/e-account", + "depends": [ + "stock", + ], + "data": [ + "views/stock.xml", + ], + "installable": True, +} diff --git a/stock_picking_ddt_info/i18n/it.po b/stock_picking_ddt_info/i18n/it.po new file mode 100644 index 00000000..b9071df2 --- /dev/null +++ b/stock_picking_ddt_info/i18n/it.po @@ -0,0 +1,61 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_discount_update +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-09-14 08:47+0000\n" +"PO-Revision-Date: 2023-09-14 08:47+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: account_invoice_discount_update +#: model_terms:ir.ui.view,arch_db:account_invoice_discount_update.invoice_form_update_discount +msgid "Apply" +msgstr "Esegui" + +#. module: account_invoice_discount_update +#: model:ir.model.fields,field_description:account_invoice_discount_update.field_account_bank_statement_line__discount +#: model:ir.model.fields,field_description:account_invoice_discount_update.field_account_move__discount +#: model:ir.model.fields,field_description:account_invoice_discount_update.field_account_payment__discount +msgid "Discount" +msgstr "Sconto" + +#. module: account_invoice_discount_update +#: model:ir.model.fields,field_description:account_invoice_discount_update.field_account_move__display_name +msgid "Display Name" +msgstr "Nome visualizzato" + +#. module: account_invoice_discount_update +#: model:ir.model.fields,field_description:account_invoice_discount_update.field_account_move__id +msgid "ID" +msgstr "" + +#. module: account_invoice_discount_update +#: model:ir.model,name:account_invoice_discount_update.model_account_move +msgid "Journal Entry" +msgstr "Registrazione contabile" + +#. module: account_invoice_discount_update +#: model:ir.model.fields,field_description:account_invoice_discount_update.field_account_move____last_update +msgid "Last Modified on" +msgstr "Ultima modifica il" + +#. module: account_invoice_discount_update +#: model_terms:ir.ui.view,arch_db:account_invoice_discount_update.invoice_form_update_discount +msgid "" +"Update discount in invoice line of type product and consumable to % input." +msgstr "" +"Aggiorna lo sconto nelle righe fattura di tipo prodotto o consumabile alla %" +" indicata." + +#. module: account_invoice_discount_update +#: model_terms:ir.ui.view,arch_db:account_invoice_discount_update.invoice_form_update_discount +msgid "Update to new discount" +msgstr "Aggiorna al nuovo sconto" diff --git a/stock_picking_ddt_info/models/__init__.py b/stock_picking_ddt_info/models/__init__.py new file mode 100644 index 00000000..ae4c2722 --- /dev/null +++ b/stock_picking_ddt_info/models/__init__.py @@ -0,0 +1 @@ +from . import stock_picking diff --git a/stock_picking_ddt_info/models/stock_picking.py b/stock_picking_ddt_info/models/stock_picking.py new file mode 100644 index 00000000..aa94ca20 --- /dev/null +++ b/stock_picking_ddt_info/models/stock_picking.py @@ -0,0 +1,10 @@ +# Copyright 2023 Sergio Corato +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from odoo import fields, models + + +class StockPicking(models.Model): + _inherit = 'stock.picking' + + ddt_supplier_number = fields.Char(string='Supplier TD Number', copy=False) + ddt_supplier_date = fields.Date(string='Supplier TD Date', copy=False) diff --git a/stock_picking_ddt_info/readme/CONTRIBUTORS.rst b/stock_picking_ddt_info/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000..20edc24f --- /dev/null +++ b/stock_picking_ddt_info/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Sergio Corato diff --git a/stock_picking_ddt_info/readme/DESCRIPTION.rst b/stock_picking_ddt_info/readme/DESCRIPTION.rst new file mode 100644 index 00000000..1b89f86b --- /dev/null +++ b/stock_picking_ddt_info/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module add supplier ddt info to picking. diff --git a/stock_picking_ddt_info/static/description/icon.png b/stock_picking_ddt_info/static/description/icon.png new file mode 100644 index 00000000..ee882205 Binary files /dev/null and b/stock_picking_ddt_info/static/description/icon.png differ diff --git a/stock_picking_ddt_info/static/description/index.html b/stock_picking_ddt_info/static/description/index.html new file mode 100644 index 00000000..0116d834 --- /dev/null +++ b/stock_picking_ddt_info/static/description/index.html @@ -0,0 +1,416 @@ + + + + + + +Add DDT info to picking + + + +
+

Add DDT info to picking

+ + +

Beta License: AGPL-3 sergiocorato/e-account

+

This module add supplier ddt info to picking.

+

Table of contents

+ +
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Sergio Corato
  • +
+
+ +
+

Maintainers

+

This module is part of the sergiocorato/e-account project on GitHub.

+

You are welcome to contribute.

+
+
+
+ + diff --git a/stock_picking_ddt_info/views/stock.xml b/stock_picking_ddt_info/views/stock.xml new file mode 100644 index 00000000..10813f6c --- /dev/null +++ b/stock_picking_ddt_info/views/stock.xml @@ -0,0 +1,31 @@ + + + + + stock.picking.form.ddt + stock.picking + + + + + + + + + + + + + + + view.picking.search.ddt + stock.picking + + + + + + + + +