Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] stock_request_purchase: Migration to 16.0 #17

Merged
merged 30 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
e009f41
OCA Transbot updated translations from Transifex
oca-transbot Dec 30, 2017
7672dff
add stock_request in 11.0
JordiBForgeFlow Nov 13, 2017
9a1cd20
[IMP] stock_request_purchase: Remove hook
MiquelRForgeFlow Mar 19, 2018
0b2e66d
[IMP] stock_request_purchase: Add Stock request orders. Change logo
etobella Apr 10, 2018
f5e722c
[FIX] Various fixes:
MiquelRForgeFlow Apr 11, 2018
870e392
various fixes
JordiBForgeFlow Apr 25, 2018
7f57244
[IMP] simplify queries
etobella Apr 27, 2018
fc5121b
Translated using Weblate (Spanish)
etobella Sep 5, 2018
e890f5a
[12.0][MIG] stock_request_purchase
kittiu Jun 26, 2019
cd1934d
[FIX] stock_request_purchase: remove sudo
etobella Jul 15, 2019
5ec1305
[FIX] Dependencies
MiquelRForgeFlow Aug 12, 2019
61afe76
[FIX] stock_request_*: add expected_date implicit on tests to avoid e…
HviorForgeFlow Aug 28, 2019
40fa216
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Oct 16, 2019
06a34cb
[12.0][FIX] Stock Request Order purchase button fix
Nov 13, 2019
62df05d
Translated using Weblate (Spanish)
Jan 17, 2020
bf0376d
[IMP] stock_request_purchase: black, isort
JoanSForgeFlow Mar 9, 2020
d71ef4d
[MIG] stock_request_purchase: Migration to 13.0
JoanSForgeFlow Mar 9, 2020
ac241b3
[UPD] Eficent -> ForgeFlow
MiquelRForgeFlow Sep 30, 2020
4572e91
[IMP] stock_request_purchase: black, isort, prettier
alan196 Oct 12, 2020
2e8be85
[MIG] stock_request_purchase: Migration to 14.0
alan196 Oct 12, 2020
ad0d58e
[14.0][IMP] stock_request_purchase: Use _for_xml_id for actions
rousseldenis Nov 24, 2021
1ddddff
[MIG] stock_request_purchase: Migration to 15.0
BernatPForgeFlow Jan 20, 2022
9a8102f
[IMP] stock_request_purchase: Propagate the cancellation of related p…
victoralmau May 18, 2023
bfa2b0b
[IMP] stock_request_purchase: Change invisible attr of the action_vie…
victoralmau Aug 28, 2023
9e2e18a
[IMP] stock_request_purchase: Add _get_stock_requests() method to get…
victoralmau Aug 28, 2023
5a1f279
[FIX] stock_request_purchase: Change to the correct icon
victoralmau Sep 11, 2023
e2d0322
Translated using Weblate (Spanish)
Ivorra78 Oct 15, 2023
60e5758
Added translation using Weblate (Italian)
mymage Dec 15, 2023
99a9763
[IMP] stock_request_purchase: pre-commit stuff
victoralmau Mar 27, 2024
424212e
[MIG] stock_request_purchase: Migration to 16.0
bruno-zanotti Mar 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions setup/stock_request_purchase/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,
)
95 changes: 95 additions & 0 deletions stock_request_purchase/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
======================
Stock Request Purchase
======================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:907375da9d85a5f9ed2bc1aee0d47ff938bf44cfeb28dfa87287c634bde27746
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/builds?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 to smash 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>
* Bruno Zanotti <bz@adhoc.com.ar>

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
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
21 changes: 21 additions & 0 deletions stock_request_purchase/__manifest__.py
Original file line number Diff line number Diff line change
@@ -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,
}
99 changes: 99 additions & 0 deletions stock_request_purchase/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# 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.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 ""

#. 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,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 ""
100 changes: 100 additions & 0 deletions stock_request_purchase/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
# 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: 2023-10-15 20:36+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\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 4.17\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.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 "Conteo de compras"

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