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

[18.0][MIG] purchase_tier_validation: Migration to 18.0 #2447

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
03ccb58
[9.0][ADD] purchase_tier_validation
LoisRForgeFlow Dec 1, 2017
e976762
[9.0][IMP] purchase_tier_validation:
LoisRForgeFlow Mar 23, 2018
a84b96c
[10.0][MIG] purchase_tier_validation
LoisRForgeFlow Mar 26, 2018
087968b
[11.0][MIG] purchase_tier_validation
LoisRForgeFlow May 9, 2018
b4640d7
- add support for field 'can_review' to hide the approve/reject buttons
JordiBForgeFlow Jul 3, 2018
e0b4095
[UPD] Update purchase_tier_validation.pot
oca-travis Nov 15, 2018
667ebe9
[ADD] icon.png
OCA-git-bot Apr 3, 2019
e629374
Added translation using Weblate (Spanish)
etobella May 8, 2019
188712a
add the status 'to approve' to the initiating states to trigger the v…
JordiBForgeFlow May 8, 2019
e8365f8
fixup! add the status 'to approve' to the initiating states to trigge…
etobella May 8, 2019
9806d17
Move review view to button box
HviorForgeFlow May 8, 2019
74fdb87
Translated using Weblate (Spanish)
etobella May 8, 2019
abe3086
[UPD] Update purchase_tier_validation.pot
oca-travis May 8, 2019
003dc47
Update translation files
oca-transbot May 8, 2019
da8d209
[MIG] purchase_tier_validation: Migration to 12.0
Feb 15, 2019
24f3d64
[UPD] Update purchase_tier_validation.pot
oca-travis May 29, 2019
dfb7300
Update translation files
oca-transbot Jun 16, 2019
d67b3bf
[12.0][FIX] purchase_tier_validation
AdriaGForgeFlow Jun 14, 2019
e230fc6
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Sep 2, 2019
f915559
[IMP] purchase_tier_validation: black, isort
pegonzalezspesol Nov 28, 2019
9f6a529
[MIG] 13.0 purchase_tier_validation
pegonzalezspesol Nov 28, 2019
c09f199
[UPD] Update purchase_tier_validation.pot
oca-travis Dec 9, 2019
dcc2673
pre-commit update
OCA-git-bot Mar 14, 2020
033fa78
Translated using Weblate (Chinese (Simplified))
dong-z Mar 23, 2020
0dc3e4f
[FIX] README.rst: runbot target
yostashiro Apr 26, 2020
b8f1c68
[UPD] Eficent -> ForgeFlow
MiquelRForgeFlow Sep 30, 2020
b669ebb
[IMP] : black, isort, prettier
kittiu Oct 26, 2020
98c99f9
[14.0][MIG] purchase_tier_validation
kittiu Oct 26, 2020
623ca1e
[UPD] Update purchase_tier_validation.pot
oca-travis Dec 2, 2020
06c42e0
[UPD] README.rst
OCA-git-bot Dec 2, 2020
9b32bfd
[14.0][FIX] purchase_tier_validation, set manual view = False
kittiu Dec 16, 2020
6305b3a
[UPD] Update purchase_tier_validation.pot
oca-travis Jan 14, 2021
2e01bb4
purchase_tier_validation 14.0.2.0.0
OCA-git-bot Jan 14, 2021
36aa3cf
[UPD] Update purchase_tier_validation.pot
oca-travis Nov 29, 2021
d4bfaba
Update translation files
oca-transbot Jan 14, 2021
d841412
[MIG] purchase_tier_validation: Migration to 15.0
JasminSForgeFlow Dec 20, 2021
39ceda7
[UPD] Update purchase_tier_validation.pot
Aug 29, 2022
5569bdf
[UPD] README.rst
OCA-git-bot Aug 29, 2022
646c285
[MIG] purchase_tier_validation: Migration to 16.0
Dec 5, 2022
0ba3433
[UPD] Update purchase_tier_validation.pot
Feb 23, 2023
922b0b6
[UPD] README.rst
OCA-git-bot Feb 23, 2023
3ed4b2e
Update translation files
weblate Feb 23, 2023
0d695b7
Translated using Weblate (Spanish)
Ivorra78 Jul 20, 2023
979d276
[UPD] README.rst
OCA-git-bot Sep 3, 2023
011f562
[IMP] purchase_tier_validation: Add validation_status field with badg…
victoralmau Apr 28, 2022
04c84d9
[UPD] Update purchase_tier_validation.pot
Oct 24, 2023
6e7ba3d
[BOT] post-merge updates
OCA-git-bot Oct 24, 2023
5954cab
Update translation files
weblate Oct 28, 2023
1ae9fd1
Translated using Weblate (Spanish)
Ivorra78 Nov 6, 2023
8731a33
Added translation using Weblate (Italian)
mymage Dec 22, 2023
8f75647
[IMP] purchase_tier_validation: pre-commit auto fixes
celm1990 Dec 28, 2023
9cec2e9
[MIG] purchase_tier_validation: Migration to 17.0
celm1990 Dec 28, 2023
a33761b
[IMP] purchase_tier_validation: Simplify the tests.
victoralmau Jan 7, 2022
3cad09d
[UPD] Update purchase_tier_validation.pot
Jan 25, 2024
17bdafc
[BOT] post-merge updates
OCA-git-bot Jan 25, 2024
dc40c3d
Update translation files
weblate Feb 3, 2024
8d1969e
Translated using Weblate (Italian)
mymage Feb 4, 2024
c6b4769
Translated using Weblate (Spanish)
Ivorra78 Feb 11, 2024
ccbfb70
[UPD] Update purchase_tier_validation.pot
Feb 13, 2024
0c5ed71
Update translation files
weblate Feb 13, 2024
9f71970
Translated using Weblate (Spanish)
Ivorra78 Feb 13, 2024
6e961aa
Translated using Weblate (Italian)
mymage Feb 14, 2024
e3862c3
Translated using Weblate (Italian)
mymage Feb 14, 2024
bcf04fc
[MIG] purchase_tier_validation: Migration to 18.0
Quan-nhm Nov 4, 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
116 changes: 116 additions & 0 deletions purchase_tier_validation/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
========================
Purchase Tier Validation
========================

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

.. |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_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-17-0/purchase-workflow-17-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=17.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:%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
-------

* 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/17.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": "18.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"
114 changes: 114 additions & 0 deletions purchase_tier_validation/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_tier_validation
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-02-14 16:40+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 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 "Può revisionare"

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

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

#. 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 ""
"Se attivata, consente al revisore di lasciare un commento nella revisione."

#. module: purchase_tier_validation
#: model_terms:ir.ui.view,arch_db:purchase_tier_validation.view_purchase_order_filter
msgid "My Purchases to review"
msgstr "I miei acquisti da revisionare"

#. module: purchase_tier_validation
#: model:ir.model.fields,field_description:purchase_tier_validation.field_purchase_order__need_validation
msgid "Need Validation"
msgstr "Richiede conferma"

#. module: purchase_tier_validation
#: model_terms:ir.ui.view,arch_db:purchase_tier_validation.view_purchase_order_filter
msgid "Needs my Review"
msgstr "Richiede la mia revisione"

#. module: purchase_tier_validation
#: model:ir.model.fields,field_description:purchase_tier_validation.field_purchase_order__next_review
msgid "Next Review"
msgstr "Prossima revisione"

#. 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 "Ordini di acquisto approvati e pronti da confermare"

#. module: purchase_tier_validation
#: model:ir.model,name:purchase_tier_validation.model_purchase_order
msgid "Purchase Order"
msgstr "Ordine di acquisto"

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

#. module: purchase_tier_validation
#: model:ir.model.fields,field_description:purchase_tier_validation.field_purchase_order__rejected_message
msgid "Rejected Message"
msgstr "Messaggio di rifiuto"

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

#. module: purchase_tier_validation
#: model:ir.model,name:purchase_tier_validation.model_tier_definition
msgid "Tier Definition"
msgstr "Definizione livello"

#. module: purchase_tier_validation
#: model:ir.model.fields,field_description:purchase_tier_validation.field_purchase_order__to_validate_message
msgid "To Validate Message"
msgstr "Messaggio per 'Da validare'"

#. 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 "Approvata"

#. module: purchase_tier_validation
#: model:ir.model.fields,field_description:purchase_tier_validation.field_purchase_order__validated_message
msgid "Validated Message"
msgstr "Messaggio per 'Validato'"

#. module: purchase_tier_validation
#: model:ir.model.fields,field_description:purchase_tier_validation.field_purchase_order__validation_status
msgid "Validation Status"
msgstr "Stato validazione"

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