diff --git a/purchase_order_line_stock_available/README.rst b/purchase_order_line_stock_available/README.rst new file mode 100644 index 00000000000..64a649af554 --- /dev/null +++ b/purchase_order_line_stock_available/README.rst @@ -0,0 +1,95 @@ +=================================== +Purchase order line stock available +=================================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:bfa0788ee1373a26ede28133f72c6468ab251508c3720c67355536099c52de54 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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%2Fpurchase--workflow-lightgray.png?logo=github + :target: https://github.com/OCA/purchase-workflow/tree/18.0/purchase_order_line_stock_available + :alt: OCA/purchase-workflow +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/purchase-workflow-18-0/purchase-workflow-18-0-purchase_order_line_stock_available + :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/purchase-workflow&target_branch=18.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module allows to view the virtual stock quantity of a product in +the purchase order line. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +- Create a new purchase order and now you will see available stock of + product on every purchase line. + +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 +------- + +* AvanzOSC +* Tecnativa + +Contributors +------------ + +- `AvanzOSC `__: + + - Daniel Campos + - Ana Juaristi + +- `Tecnativa `__: + + - Pedro Baeza + - Vicent Cubells + - Víctor Martínez + +- Sudhir Arya + +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/purchase-workflow `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/purchase_order_line_stock_available/__init__.py b/purchase_order_line_stock_available/__init__.py new file mode 100644 index 00000000000..0650744f6bc --- /dev/null +++ b/purchase_order_line_stock_available/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/purchase_order_line_stock_available/__manifest__.py b/purchase_order_line_stock_available/__manifest__.py new file mode 100644 index 00000000000..c8fe36ecf8b --- /dev/null +++ b/purchase_order_line_stock_available/__manifest__.py @@ -0,0 +1,14 @@ +# Copyright 2015 AvanzOSC +# Copyright 2017-2019 Tecnativa - Pedro M. Baeza +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +{ + "name": "Purchase order line stock available", + "version": "18.0.1.0.0", + "license": "AGPL-3", + "author": "AvanzOSC," "Tecnativa," "Odoo Community Association (OCA)", + "website": "https://github.com/OCA/purchase-workflow", + "depends": ["purchase_stock"], + "category": "Purchases", + "data": ["views/purchase_view.xml"], + "installable": True, +} diff --git a/purchase_order_line_stock_available/i18n/es.po b/purchase_order_line_stock_available/i18n/es.po new file mode 100644 index 00000000000..5b2f3a877cc --- /dev/null +++ b/purchase_order_line_stock_available/i18n/es.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_order_line_stock_available +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-21 09:11+0000\n" +"PO-Revision-Date: 2023-10-28 19:58+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: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: purchase_order_line_stock_available +#: model:ir.model.fields,help:purchase_order_line_stock_available.field_purchase_order_line__virtual_available +msgid "" +"Forecast quantity (computed as Quantity On Hand - Outgoing + Incoming)\n" +"In a context with a single Stock Location, this includes goods stored in " +"this location, or any of its children.\n" +"In a context with a single Warehouse, this includes goods stored in the " +"Stock Location of this Warehouse, or any of its children.\n" +"Otherwise, this includes goods stored in any Stock Location with 'internal' " +"type." +msgstr "" +"Cantidad Prevista (calculado de la siguiente forma -> stock real - salientes " +"+ entrantes)\n" +"Con una ubicación de stock en contexto, añade las cantidades existentes en " +"esa ubicación o en cualquier hijo suyo. \n" +"Con un almacén en contexto, añade las cantidades existentes en la ubicación " +"de stock de ese almacén o en cualquier hijo suyo. \n" +"En cualquiero otro caso, te añade las cantidades existentes en todas las " +"ubicaciones de tipo interno." + +#. module: purchase_order_line_stock_available +#: model:ir.model.fields,field_description:purchase_order_line_stock_available.field_purchase_order_line__virtual_available +msgid "Forecasted Quantity" +msgstr "Cantidad Prevista" + +#. module: purchase_order_line_stock_available +#: model:ir.model,name:purchase_order_line_stock_available.model_purchase_order_line +msgid "Purchase Order Line" +msgstr "Línea pedido de compra" diff --git a/purchase_order_line_stock_available/i18n/it.po b/purchase_order_line_stock_available/i18n/it.po new file mode 100644 index 00000000000..c6f9545ab54 --- /dev/null +++ b/purchase_order_line_stock_available/i18n/it.po @@ -0,0 +1,44 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_order_line_stock_available +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-07-08 08:59+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 5.6.2\n" + +#. module: purchase_order_line_stock_available +#: model:ir.model.fields,help:purchase_order_line_stock_available.field_purchase_order_line__virtual_available +msgid "" +"Forecast quantity (computed as Quantity On Hand - Outgoing + Incoming)\n" +"In a context with a single Stock Location, this includes goods stored in this location, or any of its children.\n" +"In a context with a single Warehouse, this includes goods stored in the Stock Location of this Warehouse, or any of its children.\n" +"Otherwise, this includes goods stored in any Stock Location with 'internal' type." +msgstr "" +"Quantità previsionale (calcolata come quantità disponibile - uscite + " +"entrate)\n" +"In un contesto con una sola ubicazione di magazzino, include i beni stoccati " +"in questa ubicazione o qualsiasi delle sue figlie.\n" +"In un contesto con un solo magazzino, include i beni stoccati " +"nell'ubicazione di magazzino di questo magazzino o qualsiasi delle figlie.\n" +"Altrimenti, include i beni stoccati in qualsiasi ubicazione di tipo " +"'interno'." + +#. module: purchase_order_line_stock_available +#: model:ir.model.fields,field_description:purchase_order_line_stock_available.field_purchase_order_line__virtual_available +msgid "Forecasted Quantity" +msgstr "Quantità prevista" + +#. module: purchase_order_line_stock_available +#: model:ir.model,name:purchase_order_line_stock_available.model_purchase_order_line +msgid "Purchase Order Line" +msgstr "Riga ordine di acquisto" diff --git a/purchase_order_line_stock_available/i18n/pt_BR.po b/purchase_order_line_stock_available/i18n/pt_BR.po new file mode 100644 index 00000000000..b3cb910a850 --- /dev/null +++ b/purchase_order_line_stock_available/i18n/pt_BR.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_order_line_stock_available +# +# Translators: +# danimaribeiro , 2015 +msgid "" +msgstr "" +"Project-Id-Version: odoomrp-utils (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-10-08 08:45+0000\n" +"PO-Revision-Date: 2024-07-10 18:58+0000\n" +"Last-Translator: Rodrigo Sottomaior Macedo " +"\n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/" +"odoomrp-utils-8-0/language/pt_BR/)\n" +"Language: pt_BR\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 5.6.2\n" + +#. module: purchase_order_line_stock_available +#: model:ir.model.fields,help:purchase_order_line_stock_available.field_purchase_order_line__virtual_available +msgid "" +"Forecast quantity (computed as Quantity On Hand - Outgoing + Incoming)\n" +"In a context with a single Stock Location, this includes goods stored in " +"this location, or any of its children.\n" +"In a context with a single Warehouse, this includes goods stored in the " +"Stock Location of this Warehouse, or any of its children.\n" +"Otherwise, this includes goods stored in any Stock Location with 'internal' " +"type." +msgstr "" +"Quantidade prevista (calculada como Quantidade disponível - Saída + Entrada)" +"\n" +"Em um contexto com um único Local de Estoque, isso inclui mercadorias " +"armazenadas nesse local ou qualquer um de seus filhos.\n" +"Num contexto com um único Armazém, isto inclui mercadorias armazenadas no " +"Local de Estoque deste Armazém, ou qualquer um dos seus filhos.\n" +"Caso contrário, isto inclui mercadorias armazenadas em qualquer Local de " +"Estoque com tipo 'interno'." + +#. module: purchase_order_line_stock_available +#: model:ir.model.fields,field_description:purchase_order_line_stock_available.field_purchase_order_line__virtual_available +msgid "Forecasted Quantity" +msgstr "Quantidade prevista" + +#. module: purchase_order_line_stock_available +#: model:ir.model,name:purchase_order_line_stock_available.model_purchase_order_line +msgid "Purchase Order Line" +msgstr "Linha de compra" diff --git a/purchase_order_line_stock_available/i18n/purchase_order_line_stock_available.pot b/purchase_order_line_stock_available/i18n/purchase_order_line_stock_available.pot new file mode 100644 index 00000000000..d06dfe83259 --- /dev/null +++ b/purchase_order_line_stock_available/i18n/purchase_order_line_stock_available.pot @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_order_line_stock_available +# +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: purchase_order_line_stock_available +#: model:ir.model.fields,help:purchase_order_line_stock_available.field_purchase_order_line__virtual_available +msgid "" +"Forecast quantity (computed as Quantity On Hand - Outgoing + Incoming)\n" +"In a context with a single Stock Location, this includes goods stored in this location, or any of its children.\n" +"In a context with a single Warehouse, this includes goods stored in the Stock Location of this Warehouse, or any of its children.\n" +"Otherwise, this includes goods stored in any Stock Location with 'internal' type." +msgstr "" + +#. module: purchase_order_line_stock_available +#: model:ir.model.fields,field_description:purchase_order_line_stock_available.field_purchase_order_line__virtual_available +msgid "Forecasted Quantity" +msgstr "" + +#. module: purchase_order_line_stock_available +#: model:ir.model,name:purchase_order_line_stock_available.model_purchase_order_line +msgid "Purchase Order Line" +msgstr "" diff --git a/purchase_order_line_stock_available/i18n/sl.po b/purchase_order_line_stock_available/i18n/sl.po new file mode 100644 index 00000000000..650947cd406 --- /dev/null +++ b/purchase_order_line_stock_available/i18n/sl.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_order_line_stock_available +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: odoomrp-utils (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-10-08 08:45+0000\n" +"PO-Revision-Date: 2015-09-28 13:12+0000\n" +"Last-Translator: Matjaž Mozetič \n" +"Language-Team: Slovenian (http://www.transifex.com/oca/odoomrp-utils-8-0/" +"language/sl/)\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || " +"n%100==4 ? 2 : 3);\n" + +#. module: purchase_order_line_stock_available +#: model:ir.model.fields,help:purchase_order_line_stock_available.field_purchase_order_line__virtual_available +msgid "" +"Forecast quantity (computed as Quantity On Hand - Outgoing + Incoming)\n" +"In a context with a single Stock Location, this includes goods stored in " +"this location, or any of its children.\n" +"In a context with a single Warehouse, this includes goods stored in the " +"Stock Location of this Warehouse, or any of its children.\n" +"Otherwise, this includes goods stored in any Stock Location with 'internal' " +"type." +msgstr "" + +#. module: purchase_order_line_stock_available +#: model:ir.model.fields,field_description:purchase_order_line_stock_available.field_purchase_order_line__virtual_available +msgid "Forecasted Quantity" +msgstr "" + +#. module: purchase_order_line_stock_available +#: model:ir.model,name:purchase_order_line_stock_available.model_purchase_order_line +msgid "Purchase Order Line" +msgstr "Postavka nabavnega naloga" diff --git a/purchase_order_line_stock_available/i18n/zh_CN.po b/purchase_order_line_stock_available/i18n/zh_CN.po new file mode 100644 index 00000000000..42a03e40e01 --- /dev/null +++ b/purchase_order_line_stock_available/i18n/zh_CN.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_order_line_stock_available +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-03-21 12:46+0000\n" +"Last-Translator: Dong \n" +"Language-Team: none\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: purchase_order_line_stock_available +#: model:ir.model.fields,help:purchase_order_line_stock_available.field_purchase_order_line__virtual_available +msgid "" +"Forecast quantity (computed as Quantity On Hand - Outgoing + Incoming)\n" +"In a context with a single Stock Location, this includes goods stored in " +"this location, or any of its children.\n" +"In a context with a single Warehouse, this includes goods stored in the " +"Stock Location of this Warehouse, or any of its children.\n" +"Otherwise, this includes goods stored in any Stock Location with 'internal' " +"type." +msgstr "" + +#. module: purchase_order_line_stock_available +#: model:ir.model.fields,field_description:purchase_order_line_stock_available.field_purchase_order_line__virtual_available +msgid "Forecasted Quantity" +msgstr "" + +#. module: purchase_order_line_stock_available +#: model:ir.model,name:purchase_order_line_stock_available.model_purchase_order_line +msgid "Purchase Order Line" +msgstr "采购订单明细" diff --git a/purchase_order_line_stock_available/models/__init__.py b/purchase_order_line_stock_available/models/__init__.py new file mode 100644 index 00000000000..370f577b2a2 --- /dev/null +++ b/purchase_order_line_stock_available/models/__init__.py @@ -0,0 +1 @@ +from . import purchase diff --git a/purchase_order_line_stock_available/models/purchase.py b/purchase_order_line_stock_available/models/purchase.py new file mode 100644 index 00000000000..1946e7ce2e7 --- /dev/null +++ b/purchase_order_line_stock_available/models/purchase.py @@ -0,0 +1,9 @@ +from odoo import fields, models + + +class PurchaseOrderLine(models.Model): + _inherit = "purchase.order.line" + + virtual_available = fields.Float( + related="product_id.virtual_available", readonly=True + ) diff --git a/purchase_order_line_stock_available/pyproject.toml b/purchase_order_line_stock_available/pyproject.toml new file mode 100644 index 00000000000..4231d0cccb3 --- /dev/null +++ b/purchase_order_line_stock_available/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/purchase_order_line_stock_available/readme/CONTRIBUTORS.md b/purchase_order_line_stock_available/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..a6bb947357e --- /dev/null +++ b/purchase_order_line_stock_available/readme/CONTRIBUTORS.md @@ -0,0 +1,8 @@ +- [AvanzOSC](http://www.avanzosc.es/): + - Daniel Campos \<\> + - Ana Juaristi \<\> +- [Tecnativa](https://www.tecnativa.com): + - Pedro Baeza + - Vicent Cubells + - Víctor Martínez +- Sudhir Arya \<\> diff --git a/purchase_order_line_stock_available/readme/DESCRIPTION.md b/purchase_order_line_stock_available/readme/DESCRIPTION.md new file mode 100644 index 00000000000..e52c725acb7 --- /dev/null +++ b/purchase_order_line_stock_available/readme/DESCRIPTION.md @@ -0,0 +1,2 @@ +This module allows to view the virtual stock quantity of a product in +the purchase order line. diff --git a/purchase_order_line_stock_available/readme/USAGE.md b/purchase_order_line_stock_available/readme/USAGE.md new file mode 100644 index 00000000000..9a6f8e51bbe --- /dev/null +++ b/purchase_order_line_stock_available/readme/USAGE.md @@ -0,0 +1,2 @@ +- Create a new purchase order and now you will see available stock of + product on every purchase line. diff --git a/purchase_order_line_stock_available/static/description/icon.png b/purchase_order_line_stock_available/static/description/icon.png new file mode 100644 index 00000000000..3a0328b516c Binary files /dev/null and b/purchase_order_line_stock_available/static/description/icon.png differ diff --git a/purchase_order_line_stock_available/static/description/index.html b/purchase_order_line_stock_available/static/description/index.html new file mode 100644 index 00000000000..e3fb9f72c3e --- /dev/null +++ b/purchase_order_line_stock_available/static/description/index.html @@ -0,0 +1,444 @@ + + + + + +Purchase order line stock available + + + +
+

Purchase order line stock available

+ + +

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

+

This module allows to view the virtual stock quantity of a product in +the purchase order line.

+

Table of contents

+ +
+

Usage

+
    +
  • Create a new purchase order and now you will see available stock of +product on every purchase line.
  • +
+
+
+

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

+
    +
  • AvanzOSC
  • +
  • Tecnativa
  • +
+
+
+

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/purchase-workflow project on GitHub.

+

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

+
+
+
+ + diff --git a/purchase_order_line_stock_available/tests/__init__.py b/purchase_order_line_stock_available/tests/__init__.py new file mode 100644 index 00000000000..5f85fc3d3a9 --- /dev/null +++ b/purchase_order_line_stock_available/tests/__init__.py @@ -0,0 +1 @@ +from . import test_purchase diff --git a/purchase_order_line_stock_available/tests/test_purchase.py b/purchase_order_line_stock_available/tests/test_purchase.py new file mode 100644 index 00000000000..701ac9968d1 --- /dev/null +++ b/purchase_order_line_stock_available/tests/test_purchase.py @@ -0,0 +1,59 @@ +# Copyright 2021 Tecnativa - Víctor Martínez +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + +from datetime import date + +from odoo.addons.base.tests.common import BaseCommon + + +class TestPurchase(BaseCommon): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.company = cls.env.ref("base.main_company") + cls.partner = cls.env["res.partner"].create({"name": "Test partner"}) + cls.product = cls.env["product.product"].create( + {"name": "Test product", "is_storable": True} + ) + cls.location_stock = cls.env.ref("stock.stock_location_stock") + cls.location_suppliers = cls.env.ref("stock.stock_location_suppliers") + cls.purchase = cls.env["purchase.order"].create( + { + "partner_id": cls.partner.id, + "order_line": [ + ( + 0, + 0, + { + "product_id": cls.product.id, + "product_uom": cls.product.uom_id.id, + "name": cls.product.name, + "price_unit": cls.product.standard_price, + "date_planned": date.today(), + "product_qty": 1, + }, + ) + ], + } + ) + cls.purchase_line = cls.purchase.order_line[0] + cls._create_stock_move(10.0) + + @classmethod + def _create_stock_move(cls, qty): + stock_move = cls.env["stock.move"].create( + { + "name": cls.product.display_name, + "location_id": cls.location_suppliers.id, + "location_dest_id": cls.location_stock.id, + "product_id": cls.product.id, + "product_uom": cls.product.uom_id.id, + "product_uom_qty": qty, + } + ) + stock_move._action_done() + + def test_purchase_line_virtual_available(self): + self.assertEqual(self.purchase_line.virtual_available, 10.0) + self._create_stock_move(20.0) + self.assertEqual(self.purchase_line.virtual_available, 30.0) diff --git a/purchase_order_line_stock_available/views/purchase_view.xml b/purchase_order_line_stock_available/views/purchase_view.xml new file mode 100644 index 00000000000..6c0a783c94f --- /dev/null +++ b/purchase_order_line_stock_available/views/purchase_view.xml @@ -0,0 +1,16 @@ + + + + purchase.order.form.view.stock + purchase.order + + + + + + + +