Skip to content

[19.0][MIG] purchase_requisition_tier_validation: Migration to 19.0 - #58

Open
FrancescoBellingeri wants to merge 28 commits into
OCA:19.0from
FrancescoBellingeri:19.0-mig-purchase_requisition_tier_validation
Open

[19.0][MIG] purchase_requisition_tier_validation: Migration to 19.0#58
FrancescoBellingeri wants to merge 28 commits into
OCA:19.0from
FrancescoBellingeri:19.0-mig-purchase_requisition_tier_validation

Conversation

@FrancescoBellingeri

Copy link
Copy Markdown

Standard Migration.

Migrated directly from the last official 17.0 state (the module was never migrated to 18.0 in purchase-workflow, and this repo consolidates the *_tier_validation modules starting at 19.0).

Adaptations required for 19.0 core compatibility:

  • _state_to: ["ongoing", "in_progress"] -> ["confirmed"], matching the current purchase.requisition state values (draft/confirmed/done/cancel).
  • View: validated (removed boolean field) -> validation_status == 'validated', following the same field used by the sibling purchase_tier_validation/purchase_request_tier_validation already migrated in this repo.
  • website key updated to this repo.

Added a functional test covering the tier validation enforcement (action_confirm blocked until validated), verified passing both with and without demo data.

ps-tubtim and others added 28 commits July 24, 2026 09:52
Currently translated at 100.0% (13 of 13 strings)

Translation: purchase-workflow-13.0/purchase-workflow-13.0-purchase_requisition_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_requisition_tier_validation/zh_CN/
Currently translated at 100.0% (13 of 13 strings)

Translation: purchase-workflow-13.0/purchase-workflow-13.0-purchase_requisition_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_requisition_tier_validation/zh_CN/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_requisition_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_requisition_tier_validation/
Currently translated at 100.0% (16 of 16 strings)

Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_requisition_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_requisition_tier_validation/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_requisition_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_requisition_tier_validation/
Currently translated at 100.0% (17 of 17 strings)

Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_requisition_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_requisition_tier_validation/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: purchase-workflow-17.0/purchase-workflow-17.0-purchase_requisition_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-17-0/purchase-workflow-17-0-purchase_requisition_tier_validation/
Currently translated at 100.0% (18 of 18 strings)

Translation: purchase-workflow-17.0/purchase-workflow-17.0-purchase_requisition_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-17-0/purchase-workflow-17-0-purchase_requisition_tier_validation/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: purchase-workflow-17.0/purchase-workflow-17.0-purchase_requisition_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-17-0/purchase-workflow-17-0-purchase_requisition_tier_validation/
Currently translated at 100.0% (19 of 19 strings)

Translation: purchase-workflow-17.0/purchase-workflow-17.0-purchase_requisition_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-17-0/purchase-workflow-17-0-purchase_requisition_tier_validation/es/
Currently translated at 26.3% (5 of 19 strings)

Translation: purchase-workflow-17.0/purchase-workflow-17.0-purchase_requisition_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-17-0/purchase-workflow-17-0-purchase_requisition_tier_validation/it/
Currently translated at 100.0% (19 of 19 strings)

Translation: purchase-workflow-17.0/purchase-workflow-17.0-purchase_requisition_tier_validation
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-17-0/purchase-workflow-17-0-purchase_requisition_tier_validation/it/
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@OCA-git-bot OCA-git-bot added series:19.0 mod:purchase_requisition_tier_validation Module purchase_requisition_tier_validation labels Jul 24, 2026
@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.