Skip to content

Commit

Permalink
Merge PR #1372 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by hparfr
  • Loading branch information
OCA-git-bot committed Nov 6, 2023
2 parents 8d900c4 + e2d6ee1 commit b5dd2b9
Show file tree
Hide file tree
Showing 16 changed files with 688 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup/stock_picking_supplier_ref/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
81 changes: 81 additions & 0 deletions stock_picking_supplier_ref/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
================================
Stock Picking Supplier Reference
================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ac9123b3c01163e33259cf6fb5089e00abe673d73f1fda839a4f9f3384ce88d9
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/14.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-14-0/stock-logistics-workflow-14-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=14.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:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-workflow/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 <https://github.com/OCA/stock-logistics-workflow/issues/new?body=module:%20stock_picking_supplier_ref%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~

* Trey

Contributors
~~~~~~~~~~~~

* `Trey <https://www.trey.es>`_:

* `Studio73 <https://www.studio73.es>`_:

* Carlos Reyes <carlos@studio73.es>

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 <https://github.com/OCA/stock-logistics-workflow/tree/14.0/stock_picking_supplier_ref>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions stock_picking_supplier_ref/__init__.py
Original file line number Diff line number Diff line change
@@ -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
17 changes: 17 additions & 0 deletions stock_picking_supplier_ref/__manifest__.py
Original file line number Diff line number Diff line change
@@ -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": "16.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,
}
46 changes: 46 additions & 0 deletions stock_picking_supplier_ref/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# 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: 2022-11-11 07:27+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_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 ""

#. 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"
44 changes: 44 additions & 0 deletions stock_picking_supplier_ref/i18n/stock_picking_supplier_ref.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# 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"
"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__display_name
msgid "Display Name"
msgstr ""

#. module: stock_picking_supplier_ref
#: model:ir.model.fields,field_description:stock_picking_supplier_ref.field_stock_picking__id
msgid "ID"
msgstr ""

#. 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 ""

#. 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 ""
3 changes: 3 additions & 0 deletions stock_picking_supplier_ref/models/__init__.py
Original file line number Diff line number Diff line change
@@ -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
13 changes: 13 additions & 0 deletions stock_picking_supplier_ref/models/stock_picking.py
Original file line number Diff line number Diff line change
@@ -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",
)
5 changes: 5 additions & 0 deletions stock_picking_supplier_ref/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* `Trey <https://www.trey.es>`_:

* `Studio73 <https://www.studio73.es>`_:

* Carlos Reyes <carlos@studio73.es>
2 changes: 2 additions & 0 deletions stock_picking_supplier_ref/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
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.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b5dd2b9

Please sign in to comment.