Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
c45de86
[9.0][ADD] purchase_tier_validation
LoisRForgeFlow Dec 1, 2017
84cc3b8
[9.0][IMP] purchase_tier_validation:
LoisRForgeFlow Mar 23, 2018
7307d1c
[10.0][MIG] purchase_tier_validation
LoisRForgeFlow Mar 26, 2018
7184005
[11.0][MIG] purchase_tier_validation
LoisRForgeFlow May 9, 2018
702a261
- add support for field 'can_review' to hide the approve/reject buttons
JordiBForgeFlow Jul 3, 2018
00ccda0
Added translation using Weblate (Spanish)
etobella May 8, 2019
697febd
add the status 'to approve' to the initiating states to trigger the v…
JordiBForgeFlow May 8, 2019
0ed4a9f
fixup! add the status 'to approve' to the initiating states to trigge…
etobella May 8, 2019
1998a89
Move review view to button box
HviorForgeFlow May 8, 2019
a1a5af1
Translated using Weblate (Spanish)
etobella May 8, 2019
e64e739
[MIG] purchase_tier_validation: Migration to 12.0
Feb 15, 2019
5f3f8d9
[12.0][FIX] purchase_tier_validation
AdriaGForgeFlow Jun 14, 2019
2cf26be
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Sep 2, 2019
9c30dab
[IMP] purchase_tier_validation: black, isort
pegonzalezspesol Nov 28, 2019
597332e
[MIG] 13.0 purchase_tier_validation
pegonzalezspesol Nov 28, 2019
41e4696
Translated using Weblate (Chinese (Simplified))
dong-z Mar 23, 2020
e8c442e
[FIX] README.rst: runbot target
yostashiro Apr 26, 2020
78b387b
[UPD] Eficent -> ForgeFlow
MiquelRForgeFlow Sep 30, 2020
78e2964
[IMP] : black, isort, prettier
kittiu Oct 26, 2020
de7ff6a
[14.0][MIG] purchase_tier_validation
kittiu Oct 26, 2020
fae0910
[14.0][FIX] purchase_tier_validation, set manual view = False
kittiu Dec 16, 2020
76ecd51
[MIG] purchase_tier_validation: Migration to 15.0
JasminSForgeFlow Dec 20, 2021
e126958
[MIG] purchase_tier_validation: Migration to 16.0
Dec 5, 2022
99fc6b3
Translated using Weblate (Spanish)
Ivorra78 Jul 20, 2023
bb34912
[IMP] purchase_tier_validation: Add validation_status field with badg…
victoralmau Apr 28, 2022
50b5ded
Translated using Weblate (Spanish)
Ivorra78 Nov 6, 2023
7ccd617
Added translation using Weblate (Italian)
mymage Dec 22, 2023
51cfc42
[IMP] purchase_tier_validation: pre-commit auto fixes
celm1990 Dec 28, 2023
ea6eeea
[MIG] purchase_tier_validation: Migration to 17.0
celm1990 Dec 28, 2023
8a5dde8
[IMP] purchase_tier_validation: Simplify the tests.
victoralmau Jan 7, 2022
9b718e2
Translated using Weblate (Italian)
mymage Feb 4, 2024
9a15f74
Translated using Weblate (Spanish)
Ivorra78 Feb 11, 2024
12ef28d
Translated using Weblate (Spanish)
Ivorra78 Feb 13, 2024
4fca9fa
Translated using Weblate (Italian)
mymage Feb 14, 2024
d8d7fb3
[MIG] purchase_tier_validation: Migration to 18.0
Quan-nhm Nov 4, 2024
5c66ed8
Added translation using Weblate (Turkish)
bo-eska Apr 15, 2025
31d11e9
Translated using Weblate (Turkish)
bo-eska Apr 15, 2025
161fd98
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago Jun 26, 2025
889ef1a
Translated using Weblate (Portuguese (Brazil))
douglascstd Sep 3, 2025
a45950e
[MIG] purchase_tier_validation: Migration to 19.0
moitabenfdz Nov 19, 2025
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
120 changes: 120 additions & 0 deletions purchase_tier_validation/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

========================
Purchase Tier Validation
========================

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

.. |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/license-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/19.0/purchase_tier_validation
: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-19-0/purchase-workflow-19-0-purchase_tier_validation
: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=19.0
:alt: Try me on Runboat

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

This module extends the functionality of Purchase Orders to support a
tier validation process.

**Table of contents**

.. contents::
:local:

Installation
============

This module depends on ``base_tier_validation``. You can find it at
`OCA/server-ux <https://github.com/OCA/server-ux>`__

Configuration
=============

To configure this module, you need to:

1. Go to *Settings > Technical > Tier Validations > Tier Definition*.
2. Create as many tiers as you want for Purchase Order model.

Usage
=====

To use this module, you need to:

1. Create a Purchase Order triggering at least one "Tier Definition".
2. Click on *Request Validation* button.
3. Under the tab *Reviews* have a look to pending reviews and their
statuses.
4. Once all reviews are validated click on *Confirm Order*.

Additional features:

- You can filter the POs requesting your review through the filter
*Needs my Review*.
- User with rights to confirm the PO (validate all tiers that would be
generated) can directly do the operation, this is, there is no need
for her/him to request a validation.

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_tier_validation%0Aversion:%2019.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
------------

- Lois Rilo <[email protected]>
- Naglis Jonaitis <[email protected]>
- Pedro Gonzalez <[email protected]>
- Kitti U. <[email protected]> (migrate to v14)
- Komit <https://komit-consulting.com>:

- Quan.nhm <[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/19.0/purchase_tier_validation>`_ 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 purchase_tier_validation/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
16 changes: 16 additions & 0 deletions purchase_tier_validation/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2017 ForgeFlow S.L.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Purchase Tier Validation",
"summary": "Extends the functionality of Purchase Orders to "
"support a tier validation process.",
"version": "19.0.1.0.0",
"category": "Purchases",
"website": "https://github.com/OCA/purchase-workflow",
"author": "ForgeFlow, Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": ["purchase", "base_tier_validation"],
"data": ["views/purchase_order_view.xml"],
}
143 changes: 143 additions & 0 deletions purchase_tier_validation/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_tier_validation
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-02-13 19:37+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: none\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: purchase_tier_validation
#: model:ir.model.fields,field_description:purchase_tier_validation.field_purchase_order__can_review
msgid "Can Review"
msgstr "Puede Revisar"

#. module: purchase_tier_validation
#: model:ir.model.fields,field_description:purchase_tier_validation.field_purchase_order__has_comment
msgid "Has Comment"
msgstr "Tiene Comentario"

#. module: purchase_tier_validation
#: model:ir.model.fields,field_description:purchase_tier_validation.field_purchase_order__hide_reviews
msgid "Hide Reviews"
msgstr "Ocultar Comentarios"

#. module: purchase_tier_validation
#: model:ir.model.fields,help:purchase_tier_validation.field_purchase_order__has_comment
msgid "If set, Allow the reviewer to leave a comment on the review."
msgstr ""
"Si se establece, permite al revisor dejar un comentario sobre la reseña."

#. module: purchase_tier_validation
#: model_terms:ir.ui.view,arch_db:purchase_tier_validation.view_purchase_order_filter
msgid "My Purchases to review"
msgstr "Mis Compras a revisar"

#. module: purchase_tier_validation
#: model:ir.model.fields,field_description:purchase_tier_validation.field_purchase_order__need_validation
msgid "Need Validation"
msgstr "Necesita validación"

#. module: purchase_tier_validation
#: model_terms:ir.ui.view,arch_db:purchase_tier_validation.view_purchase_order_filter
msgid "Needs my Review"
msgstr "Necesita mi Revisión"

#. module: purchase_tier_validation
#: model:ir.model.fields,field_description:purchase_tier_validation.field_purchase_order__next_review
msgid "Next Review"
msgstr "Siguiente revisión"

#. module: purchase_tier_validation
#: model_terms:ir.ui.view,arch_db:purchase_tier_validation.view_purchase_order_filter
msgid "POs validated and ready to be confirmed"
msgstr "POs validadas y preparadas para ser confirmadas"

#. module: purchase_tier_validation
#: model:ir.model,name:purchase_tier_validation.model_purchase_order
msgid "Purchase Order"
msgstr "Orden de Compra"

#. module: purchase_tier_validation
#: model:ir.model.fields,field_description:purchase_tier_validation.field_purchase_order__rejected
msgid "Rejected"
msgstr "Rechazado"

#. module: purchase_tier_validation
#: model:ir.model.fields,field_description:purchase_tier_validation.field_purchase_order__rejected_message
msgid "Rejected Message"
msgstr "Mensaje rechazado"

#. module: purchase_tier_validation
#: model:ir.model.fields,field_description:purchase_tier_validation.field_purchase_order__reviewer_ids
msgid "Reviewers"
msgstr "Revisores"

#. module: purchase_tier_validation
#: model:ir.model,name:purchase_tier_validation.model_tier_definition
msgid "Tier Definition"
msgstr "Definición del nivel"

#. module: purchase_tier_validation
#: model:ir.model.fields,field_description:purchase_tier_validation.field_purchase_order__to_validate_message
msgid "To Validate Message"
msgstr "Para validar el mensaje"

#. module: purchase_tier_validation
#: model:ir.model.fields,field_description:purchase_tier_validation.field_purchase_order__validated
#: model_terms:ir.ui.view,arch_db:purchase_tier_validation.view_purchase_order_filter
msgid "Validated"
msgstr "Validada"

#. module: purchase_tier_validation
#: model:ir.model.fields,field_description:purchase_tier_validation.field_purchase_order__validated_message
msgid "Validated Message"
msgstr "Mensaje validado"

#. module: purchase_tier_validation
#: model:ir.model.fields,field_description:purchase_tier_validation.field_purchase_order__validation_status
msgid "Validation Status"
msgstr "Estado de validación"

#. module: purchase_tier_validation
#: model:ir.model.fields,field_description:purchase_tier_validation.field_purchase_order__review_ids
msgid "Validations"
msgstr "Validaciones"

#~ msgid ""
#~ "<i class=\"fa fa-info-circle\"/>This PO needs to be\n"
#~ " validated."
#~ msgstr ""
#~ "<i class=\"fa fa-info-circle\"/>Esta PO debe ser\n"
#~ " validada."

#~ msgid "<i class=\"fa fa-thumbs-down\"/> Operation has been <b>rejected</b>."
#~ msgstr ""
#~ "<i class=\"fa fa-thumbs-down\"/>La operación ha sido <b>rechazada</b>."

#~ msgid "<i class=\"fa fa-thumbs-up\"/> Operation has been <b>validated</b>!"
#~ msgstr "<i class=\"fa fa-thumbs-up\"/>La operación ha sido <b>validada</b>!"

#~ msgid "Reject"
#~ msgstr "Rechazar"

#~ msgid "Request Validation"
#~ msgstr "Solicitar Validación"

#~ msgid "Restart Validation"
#~ msgstr "Reiniciar Validación"

#~ msgid "Validate"
#~ msgstr "Validar"

#~ msgid "Reviews"
#~ msgstr "Revisiones"
Loading
Loading