Skip to content

Commit

Permalink
Merge commit 'refs/pull/12/head' of https://github.com/oca/stock-logi…
Browse files Browse the repository at this point in the history
…stics-request into 16.0-5078
  • Loading branch information
docker-odoo committed Jan 8, 2024
2 parents 5196f01 + 74a862d commit 189f9ad
Show file tree
Hide file tree
Showing 27 changed files with 1,547 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup/stock_request_purchase/setup.py
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
91 changes: 91 additions & 0 deletions stock_request_purchase/README.rst
@@ -0,0 +1,91 @@
======================
Stock Request Purchase
======================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--request-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-request/tree/16.0/stock_request_purchase
:alt: OCA/stock-logistics-request
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-request-16-0/stock-logistics-request-16-0-stock_request_purchase
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/webui/builds.html?repo=OCA/stock-logistics-request&target_branch=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows for users to be able to display purchase orders that have
been created as a consequence of Stock Requests.

**Table of contents**

.. contents::
:local:

Usage
=====

In case that the confirmation of the Stock Request results in an immediate
Purchase Order, the user will be able to display the PO's from the Stock
Request form view.

Known issues / Roadmap
======================

* When a Stock Request is cancelled, it does not cancel the quantity included
in the Purchase Order.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-request/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/stock-logistics-request/issues/new?body=module:%20stock_request_purchase%0Aversion:%2016.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
~~~~~~~

* ForgeFlow

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

* Jordi Ballester <jordi.ballester@forgeflow.com>.
* Enric Tobella <etobella@creublanca.es>
* Kitti Upariphutthiphong <kittiu@ecosoft.co.th>
* Alan Ramos <alan.ramos@jarsa.com.mx>
* Urvisha Desai <udesai@opensourceintegrators.com>

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-request <https://github.com/OCA/stock-logistics-request/tree/16.0/stock_request_purchase>`_ 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 stock_request_purchase/__init__.py
@@ -0,0 +1 @@
from . import models
21 changes: 21 additions & 0 deletions stock_request_purchase/__manifest__.py
@@ -0,0 +1,21 @@
# Copyright 2017-20 ForgeFlow S.L. (https://www.forgeflow.com)
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).

{
"name": "Stock Request Purchase",
"summary": "Internal request for stock",
"version": "16.0.1.0.0",
"license": "LGPL-3",
"website": "https://github.com/OCA/stock-logistics-request",
"author": "ForgeFlow, Odoo Community Association (OCA)",
"category": "Warehouse Management",
"depends": ["stock_request", "purchase_stock"],
"data": [
"security/ir.model.access.csv",
"views/stock_request_views.xml",
"views/stock_request_order_views.xml",
"views/purchase_order_views.xml",
],
"installable": True,
"auto_install": True,
}
105 changes: 105 additions & 0 deletions stock_request_purchase/i18n/de.po
@@ -0,0 +1,105 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_request_purchase
#
# Translators:
# Rudolf Schnapka <rs@techno-flex.de>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-03-02 03:44+0000\n"
"PO-Revision-Date: 2018-03-02 03:44+0000\n"
"Last-Translator: Rudolf Schnapka <rs@techno-flex.de>, 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\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"

#. module: stock_request_purchase
#: model_terms:ir.ui.view,arch_db:stock_request_purchase.stock_request_order_form
#: model_terms:ir.ui.view,arch_db:stock_request_purchase.view_stock_request_form
msgid "Purchase"
msgstr "Einkauf"

#. module: stock_request_purchase
#: model:ir.model,name:stock_request_purchase.model_purchase_order
msgid "Purchase Order"
msgstr ""

#. module: stock_request_purchase
#: model:ir.model,name:stock_request_purchase.model_purchase_order_line
msgid "Purchase Order Line"
msgstr "Bestellposition"

#. module: stock_request_purchase
#: model:ir.model.fields,field_description:stock_request_purchase.field_stock_request__purchase_line_ids
#: model:ir.model.fields,field_description:stock_request_purchase.field_stock_request_order__purchase_line_ids
msgid "Purchase Order Lines"
msgstr "Bestellpositionen"

#. module: stock_request_purchase
#: model:ir.model.fields,field_description:stock_request_purchase.field_stock_request__purchase_ids
#: model:ir.model.fields,field_description:stock_request_purchase.field_stock_request_order__purchase_ids
#, fuzzy
msgid "Purchase Orders"
msgstr "Bestellpositionen"

#. module: stock_request_purchase
#: model:ir.model.fields,field_description:stock_request_purchase.field_stock_request__purchase_count
#: model:ir.model.fields,field_description:stock_request_purchase.field_stock_request_order__purchase_count
msgid "Purchase count"
msgstr "Bestellhäufigkeit"

#. module: stock_request_purchase
#: model:ir.model,name:stock_request_purchase.model_stock_request
msgid "Stock Request"
msgstr "Bestandsanforderung"

#. module: stock_request_purchase
#: model:ir.model.fields,field_description:stock_request_purchase.field_purchase_order__stock_request_count
msgid "Stock Request #"
msgstr ""

#. module: stock_request_purchase
#: model:ir.model,name:stock_request_purchase.model_stock_request_order
#, fuzzy
msgid "Stock Request Order"
msgstr "Bestandsanforderung"

#. module: stock_request_purchase
#: model:ir.model.fields,field_description:stock_request_purchase.field_purchase_order__stock_request_ids
#: model:ir.model.fields,field_description:stock_request_purchase.field_purchase_order_line__stock_request_ids
#: model_terms:ir.ui.view,arch_db:stock_request_purchase.purchase_order_form
#: model_terms:ir.ui.view,arch_db:stock_request_purchase.purchase_order_line_form2
msgid "Stock Requests"
msgstr "Bestandsanforderungen"

#. module: stock_request_purchase
#: model:ir.model,name:stock_request_purchase.model_stock_rule
#, fuzzy
msgid "Stock Rule"
msgstr "Bestandsanforderung"

#. module: stock_request_purchase
#: code:addons/stock_request_purchase/models/purchase_order_line.py:0
#, python-format
msgid ""
"You cannot link a purchase order line to a stock request that belongs to "
"another company."
msgstr ""

#. module: stock_request_purchase
#: code:addons/stock_request_purchase/models/stock_request.py:0
#, python-format
msgid ""
"You have linked to a purchase order line that belongs to another company."
msgstr ""

#~ msgid "Procurement Rule"
#~ msgstr "Beschaffungsregel"

#~ msgid "Pickings"
#~ msgstr "Kommissionierungen"
103 changes: 103 additions & 0 deletions stock_request_purchase/i18n/es.po
@@ -0,0 +1,103 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_request_purchase
#
# Translators:
# enjolras <yo@miguelrevilla.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-03-02 03:44+0000\n"
"PO-Revision-Date: 2020-01-17 05:13+0000\n"
"Last-Translator: Nelson Ramírez Sánchez <info@konos.cl>\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\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 3.10\n"

#. module: stock_request_purchase
#: model_terms:ir.ui.view,arch_db:stock_request_purchase.stock_request_order_form
#: model_terms:ir.ui.view,arch_db:stock_request_purchase.view_stock_request_form
msgid "Purchase"
msgstr "Compra"

#. module: stock_request_purchase
#: model:ir.model,name:stock_request_purchase.model_purchase_order
msgid "Purchase Order"
msgstr "Pedido de compra"

#. module: stock_request_purchase
#: model:ir.model,name:stock_request_purchase.model_purchase_order_line
msgid "Purchase Order Line"
msgstr "Línea de pedido de compra"

#. module: stock_request_purchase
#: model:ir.model.fields,field_description:stock_request_purchase.field_stock_request__purchase_line_ids
#: model:ir.model.fields,field_description:stock_request_purchase.field_stock_request_order__purchase_line_ids
msgid "Purchase Order Lines"
msgstr "Líneas de pedido de compra"

#. module: stock_request_purchase
#: model:ir.model.fields,field_description:stock_request_purchase.field_stock_request__purchase_ids
#: model:ir.model.fields,field_description:stock_request_purchase.field_stock_request_order__purchase_ids
msgid "Purchase Orders"
msgstr "Pedidos de compras"

#. module: stock_request_purchase
#: model:ir.model.fields,field_description:stock_request_purchase.field_stock_request__purchase_count
#: model:ir.model.fields,field_description:stock_request_purchase.field_stock_request_order__purchase_count
msgid "Purchase count"
msgstr "# de Compras"

#. module: stock_request_purchase
#: model:ir.model,name:stock_request_purchase.model_stock_request
msgid "Stock Request"
msgstr "Solicitud de existencias"

#. module: stock_request_purchase
#: model:ir.model.fields,field_description:stock_request_purchase.field_purchase_order__stock_request_count
msgid "Stock Request #"
msgstr "Solicitud de existencias #"

#. module: stock_request_purchase
#: model:ir.model,name:stock_request_purchase.model_stock_request_order
msgid "Stock Request Order"
msgstr "Pedido de existencias"

#. module: stock_request_purchase
#: model:ir.model.fields,field_description:stock_request_purchase.field_purchase_order__stock_request_ids
#: model:ir.model.fields,field_description:stock_request_purchase.field_purchase_order_line__stock_request_ids
#: model_terms:ir.ui.view,arch_db:stock_request_purchase.purchase_order_form
#: model_terms:ir.ui.view,arch_db:stock_request_purchase.purchase_order_line_form2
msgid "Stock Requests"
msgstr "Solicitudes de existencias"

#. module: stock_request_purchase
#: model:ir.model,name:stock_request_purchase.model_stock_rule
msgid "Stock Rule"
msgstr "Regla de Abastecimiento"

#. module: stock_request_purchase
#: code:addons/stock_request_purchase/models/purchase_order_line.py:0
#, python-format
msgid ""
"You cannot link a purchase order line to a stock request that belongs to "
"another company."
msgstr ""
"No puede unir una línea de un pedido de compras a una solicitud de "
"existencias que pertenece a otra compañía."

#. module: stock_request_purchase
#: code:addons/stock_request_purchase/models/stock_request.py:0
#, python-format
msgid ""
"You have linked to a purchase order line that belongs to another company."
msgstr ""
"Ha seleccionada una línea de pedido de compras que pertenece a otra compañía."

#~ msgid "Procurement Rule"
#~ msgstr "Regla de abastecimiento"

0 comments on commit 189f9ad

Please sign in to comment.