diff --git a/stock_picking_supplier_ref/README.rst b/stock_picking_supplier_ref/README.rst new file mode 100644 index 000000000000..b7b766408fca --- /dev/null +++ b/stock_picking_supplier_ref/README.rst @@ -0,0 +1,92 @@ +================================ +Stock Picking Supplier Reference +================================ + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:bf244bdf630639f9287f483f8c51070661ac07ab8ff8413719a268185af5971f + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github + :target: https://github.com/OCA/stock-logistics-workflow/tree/17.0/stock_picking_supplier_ref + :alt: OCA/stock-logistics-workflow +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/stock-logistics-workflow-17-0/stock-logistics-workflow-17-0-stock_picking_supplier_ref + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-workflow&target_branch=17.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds the field supplier reference in pickings. This field is +only visible when the picking type code is incoming, so is only for +receipt pickings. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + + + +Changelog +========= + + + +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 +------- + +* Trey + +Contributors +------------ + +- `Trey `__: + +- `Studio73 `__: + + - Carlos Reyes + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/stock-logistics-workflow `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/stock_picking_supplier_ref/__init__.py b/stock_picking_supplier_ref/__init__.py new file mode 100644 index 000000000000..baf05d3edec7 --- /dev/null +++ b/stock_picking_supplier_ref/__init__.py @@ -0,0 +1,3 @@ +# Copyright 2017 Trey, Kilobytes de Soluciones +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from . import models diff --git a/stock_picking_supplier_ref/__manifest__.py b/stock_picking_supplier_ref/__manifest__.py new file mode 100644 index 000000000000..5acee0fb0772 --- /dev/null +++ b/stock_picking_supplier_ref/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2017 Trey, Kilobytes de Soluciones +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Stock Picking Supplier Reference", + "version": "17.0.1.0.0", + "category": "Stock", + "author": "Trey, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/stock-logistics-workflow", + "license": "AGPL-3", + "summary": """ + Adds a supplier reference field inside supplier's pickings and + allows search for this reference.""", + "depends": ["stock"], + "data": ["views/stock_picking.xml"], + "installable": True, +} diff --git a/stock_picking_supplier_ref/i18n/es.po b/stock_picking_supplier_ref/i18n/es.po new file mode 100644 index 000000000000..b1a41def54b9 --- /dev/null +++ b/stock_picking_supplier_ref/i18n/es.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_picking_supplier_ref +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-11-11 07:27+0000\n" +"PO-Revision-Date: 2023-11-11 18:37+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: stock_picking_supplier_ref +#: model:ir.model.fields,field_description:stock_picking_supplier_ref.field_stock_picking__display_name +msgid "Display Name" +msgstr "Nombre mostrado" + +#. module: stock_picking_supplier_ref +#: model:ir.model.fields,field_description:stock_picking_supplier_ref.field_stock_picking__id +msgid "ID" +msgstr "ID (Identificación)" + +#. module: stock_picking_supplier_ref +#: model:ir.model.fields,field_description:stock_picking_supplier_ref.field_stock_picking____last_update +msgid "Last Modified on" +msgstr "Última modificación el" + +#. module: stock_picking_supplier_ref +#: model:ir.model.fields,field_description:stock_picking_supplier_ref.field_stock_picking__supplier_reference +msgid "Supplier Reference Available in PO" +msgstr "Referencia proveedor disponible en el PO" + +#. module: stock_picking_supplier_ref +#: model:ir.model.fields,help:stock_picking_supplier_ref.field_stock_picking__supplier_reference +msgid "This field adds the supplier reference added in related purchase order" +msgstr "Este campo añade la referencia del proveedor añadida en el pedido de compra relacionada" + +#. module: stock_picking_supplier_ref +#: model:ir.model,name:stock_picking_supplier_ref.model_stock_picking +msgid "Transfer" +msgstr "Albarán" diff --git a/stock_picking_supplier_ref/i18n/it.po b/stock_picking_supplier_ref/i18n/it.po new file mode 100644 index 000000000000..dfe4201c23a7 --- /dev/null +++ b/stock_picking_supplier_ref/i18n/it.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_picking_supplier_ref +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-11-17 09:33+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: stock_picking_supplier_ref +#: model:ir.model.fields,field_description:stock_picking_supplier_ref.field_stock_picking__supplier_reference +msgid "Supplier Reference Available in PO" +msgstr "Riferimento fornitore disponibile in OA" + +#. module: stock_picking_supplier_ref +#: model:ir.model.fields,help:stock_picking_supplier_ref.field_stock_picking__supplier_reference +msgid "This field adds the supplier reference added in related purchase order" +msgstr "" +"Questo campo aggiunge il riferimento fornitore aggiunto nell0ordine di " +"acquisto relativo" + +#. module: stock_picking_supplier_ref +#: model:ir.model,name:stock_picking_supplier_ref.model_stock_picking +msgid "Transfer" +msgstr "Trasferimento" diff --git a/stock_picking_supplier_ref/i18n/stock_picking_supplier_ref.pot b/stock_picking_supplier_ref/i18n/stock_picking_supplier_ref.pot new file mode 100644 index 000000000000..2c4b8e5a56d3 --- /dev/null +++ b/stock_picking_supplier_ref/i18n/stock_picking_supplier_ref.pot @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_picking_supplier_ref +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \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_supplier_ref +#: model:ir.model.fields,field_description:stock_picking_supplier_ref.field_stock_picking__supplier_reference +msgid "Supplier Reference Available in PO" +msgstr "" + +#. module: stock_picking_supplier_ref +#: model:ir.model.fields,help:stock_picking_supplier_ref.field_stock_picking__supplier_reference +msgid "This field adds the supplier reference added in related purchase order" +msgstr "" + +#. module: stock_picking_supplier_ref +#: model:ir.model,name:stock_picking_supplier_ref.model_stock_picking +msgid "Transfer" +msgstr "" diff --git a/stock_picking_supplier_ref/models/__init__.py b/stock_picking_supplier_ref/models/__init__.py new file mode 100644 index 000000000000..7ed058a71b58 --- /dev/null +++ b/stock_picking_supplier_ref/models/__init__.py @@ -0,0 +1,3 @@ +# Copyright 2017 Trey, Kilobytes de Soluciones +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from . import stock_picking diff --git a/stock_picking_supplier_ref/models/stock_picking.py b/stock_picking_supplier_ref/models/stock_picking.py new file mode 100644 index 000000000000..626a6eca9c0c --- /dev/null +++ b/stock_picking_supplier_ref/models/stock_picking.py @@ -0,0 +1,13 @@ +# Copyright 2017 Trey, Kilobytes de Soluciones +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class StockPicking(models.Model): + _inherit = "stock.picking" + + supplier_reference = fields.Char( + string="Supplier Reference Available in PO", + help="This field adds the supplier reference added in related purchase order", + ) diff --git a/stock_picking_supplier_ref/pyproject.toml b/stock_picking_supplier_ref/pyproject.toml new file mode 100644 index 000000000000..4231d0cccb3d --- /dev/null +++ b/stock_picking_supplier_ref/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/stock_picking_supplier_ref/readme/CONTRIBUTORS.md b/stock_picking_supplier_ref/readme/CONTRIBUTORS.md new file mode 100644 index 000000000000..5979db79a272 --- /dev/null +++ b/stock_picking_supplier_ref/readme/CONTRIBUTORS.md @@ -0,0 +1,5 @@ +- [Trey](https://www.trey.es): + +- [Studio73](https://www.studio73.es): + + > - Carlos Reyes \<\> diff --git a/stock_picking_supplier_ref/readme/DESCRIPTION.md b/stock_picking_supplier_ref/readme/DESCRIPTION.md new file mode 100644 index 000000000000..5a543ec469c3 --- /dev/null +++ b/stock_picking_supplier_ref/readme/DESCRIPTION.md @@ -0,0 +1,3 @@ +This module adds the field supplier reference in pickings. This field is +only visible when the picking type code is incoming, so is only for +receipt pickings. diff --git a/stock_picking_supplier_ref/readme/HISTORY.md b/stock_picking_supplier_ref/readme/HISTORY.md new file mode 100644 index 000000000000..8b137891791f --- /dev/null +++ b/stock_picking_supplier_ref/readme/HISTORY.md @@ -0,0 +1 @@ + diff --git a/stock_picking_supplier_ref/readme/USAGE.md b/stock_picking_supplier_ref/readme/USAGE.md new file mode 100644 index 000000000000..8b137891791f --- /dev/null +++ b/stock_picking_supplier_ref/readme/USAGE.md @@ -0,0 +1 @@ + diff --git a/stock_picking_supplier_ref/static/description/icon.png b/stock_picking_supplier_ref/static/description/icon.png new file mode 100644 index 000000000000..3a0328b516c4 Binary files /dev/null and b/stock_picking_supplier_ref/static/description/icon.png differ diff --git a/stock_picking_supplier_ref/static/description/index.html b/stock_picking_supplier_ref/static/description/index.html new file mode 100644 index 000000000000..cb7d70f4c76a --- /dev/null +++ b/stock_picking_supplier_ref/static/description/index.html @@ -0,0 +1,438 @@ + + + + + +Stock Picking Supplier Reference + + + +
+

Stock Picking Supplier Reference

+ + +

Beta License: AGPL-3 OCA/stock-logistics-workflow Translate me on Weblate Try me on Runboat

+

This module adds the field supplier reference in pickings. This field is +only visible when the picking type code is incoming, so is only for +receipt pickings.

+

Table of contents

+ +
+

Usage

+
+ +
+

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

+
    +
  • Trey
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/stock-logistics-workflow project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/stock_picking_supplier_ref/views/stock_picking.xml b/stock_picking_supplier_ref/views/stock_picking.xml new file mode 100644 index 000000000000..cf6642e0292d --- /dev/null +++ b/stock_picking_supplier_ref/views/stock_picking.xml @@ -0,0 +1,37 @@ + + + + + view.picking.form.inherited + stock.picking + + + + + + + + + stock.picking.tree.view.inherited + stock.picking + + + + + + + + + view.picking.internal.search.inherited + stock.picking + + + + + + + +