Skip to content

Commit

Permalink
Merge pull request #1655 from OCA/17.0
Browse files Browse the repository at this point in the history
Syncing from upstream OCA/purchase-workflow (17.0)
  • Loading branch information
bt-admin authored Jan 22, 2025
2 parents abf0d32 + 3f50225 commit e4a7bd5
Show file tree
Hide file tree
Showing 22 changed files with 921 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ addon | version | maintainers | summary
[purchase_order_archive](purchase_order_archive/) | 17.0.1.0.0 | | Archive Purchase Orders
[purchase_order_line_deep_sort](purchase_order_line_deep_sort/) | 17.0.1.0.0 | | Purchase Order Line Sort
[purchase_order_line_menu](purchase_order_line_menu/) | 17.0.1.0.0 | | Adds Purchase Order Lines Menu
[purchase_order_line_stock_available](purchase_order_line_stock_available/) | 17.0.1.0.0 | | Purchase order line stock available
[purchase_order_qty_change_no_recompute](purchase_order_qty_change_no_recompute/) | 17.0.1.0.0 | [![victoralmau](https://github.com/victoralmau.png?size=30px)](https://github.com/victoralmau) | Prevent recompute if only quantity has changed in purchase order line
[purchase_order_secondary_unit](purchase_order_secondary_unit/) | 17.0.1.0.0 | | Purchase product in a secondary unit
[purchase_order_type](purchase_order_type/) | 17.0.1.0.2 | | Purchase Order Type
Expand Down
95 changes: 95 additions & 0 deletions purchase_order_line_stock_available/README.rst
Original file line number Diff line number Diff line change
@@ -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:4d3ce1f1cadb9106e893b3d441f3c60718333b445ab17cde1dd8bd37c56f8378
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/17.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-17-0/purchase-workflow-17-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=17.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 <https://github.com/OCA/purchase-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/purchase-workflow/issues/new?body=module:%20purchase_order_line_stock_available%0Aversion:%2017.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
-------

* AvanzOSC
* Tecnativa

Contributors
------------

- `AvanzOSC <http://www.avanzosc.es/>`__:

- Daniel Campos <[email protected]>
- Ana Juaristi <[email protected]>

- `Tecnativa <https://www.tecnativa.com>`__:

- Pedro Baeza
- Vicent Cubells
- Víctor Martínez

- Sudhir Arya <[email protected]>

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 <https://github.com/OCA/purchase-workflow/tree/17.0/purchase_order_line_stock_available>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions purchase_order_line_stock_available/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
14 changes: 14 additions & 0 deletions purchase_order_line_stock_available/__manifest__.py
Original file line number Diff line number Diff line change
@@ -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": "17.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,
}
48 changes: 48 additions & 0 deletions purchase_order_line_stock_available/i18n/es.po
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>\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"
44 changes: 44 additions & 0 deletions purchase_order_line_stock_available/i18n/it.po
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:
# * 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 <[email protected]>\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"
52 changes: 52 additions & 0 deletions purchase_order_line_stock_available/i18n/pt_BR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_order_line_stock_available
#
# Translators:
# danimaribeiro <[email protected]>, 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 "
"<[email protected]>\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"
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# 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 17.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_terms:ir.ui.view,arch_db:purchase_order_line_stock_available.purchase_order_form_view_stock
msgid "Forecasted"
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 ""
42 changes: 42 additions & 0 deletions purchase_order_line_stock_available/i18n/sl.po
Original file line number Diff line number Diff line change
@@ -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č <[email protected]>\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"
39 changes: 39 additions & 0 deletions purchase_order_line_stock_available/i18n/zh_CN.po
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>\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 "采购订单明细"
1 change: 1 addition & 0 deletions purchase_order_line_stock_available/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import purchase
Loading

0 comments on commit e4a7bd5

Please sign in to comment.