Skip to content

[18.0][MIG] purchase_order_line_price_history: Migration to 18.0 - #3320

Open
mileo wants to merge 30 commits into
OCA:18.0from
kmee:18.0-mig-purchase_order_line_price_history
Open

mileo wants to merge 30 commits into
OCA:18.0from
kmee:18.0-mig-purchase_order_line_price_history

Conversation

@mileo

@mileo mileo commented Nov 20, 2026

Copy link
Copy Markdown
Member

Migration of purchase_order_line_price_history to 18.0.

The module only exists up to 15.0, so this was done one version at a time, keeping the full module history (format-patch / am):

This PR depends on the 16.0 and 17.0 migrations (#3318 and #3319), which should be reviewed and merged first.

Main changes:

  • 16.0: tests use DISABLED_MAIL_CONTEXT from base tests common.
  • 17.0: attrs converted to invisible / column_invisible expressions, readme fragments converted to Markdown.
  • 18.0: tree views renamed to list, tests based on BaseCommon.

Tests pass locally on the oca-ci images for 16.0, 17.0 and 18.0, and pre-commit is green on all three branches.

Ernesto Tejeda and others added 30 commits November 19, 2026 22:33
[UPD] Update purchase_order_line_price_history.pot

[UPD] README.rst
purchase_order_line_price_history 12.0.1.0.1

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_order_line_price_history
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_order_line_price_history/
purchase_order_line_price_history 12.0.1.0.2
[UPD] Update purchase_order_line_price_history.pot
…g same base

This way, we use DRY principle and avoid difficulties on migrations/maintenance.

Revisiting tests for *_discount module, some asserts are not needed, as they are
from base module, and added a relevant one about wizard line.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: purchase-workflow-13.0/purchase-workflow-13.0-purchase_order_line_price_history
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_order_line_price_history/
[UPD] Update purchase_order_line_price_history.pot

[UPD] README.rst
Currently translated at 87.0% (27 of 31 strings)

Translation: purchase-workflow-14.0/purchase-workflow-14.0-purchase_order_line_price_history
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-14-0/purchase-workflow-14-0-purchase_order_line_price_history/de/
Currently translated at 77.4% (24 of 31 strings)

Translation: purchase-workflow-14.0/purchase-workflow-14.0-purchase_order_line_price_history
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-14-0/purchase-workflow-14-0-purchase_order_line_price_history/fr/
Currently translated at 83.8% (26 of 31 strings)

Translation: purchase-workflow-14.0/purchase-workflow-14.0-purchase_order_line_price_history
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-14-0/purchase-workflow-14-0-purchase_order_line_price_history/fr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: purchase-workflow-15.0/purchase-workflow-15.0-purchase_order_line_price_history
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_order_line_price_history/
- Include context keys for avoiding mail operations overhead.
Currently translated at 100.0% (30 of 30 strings)

Translation: purchase-workflow-15.0/purchase-workflow-15.0-purchase_order_line_price_history
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_order_line_price_history/es/
Currently translated at 100.0% (30 of 30 strings)

Translation: purchase-workflow-15.0/purchase-workflow-15.0-purchase_order_line_price_history
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_order_line_price_history/gl/
@oca-cla-bot

oca-cla-bot Bot commented Nov 20, 2026

Copy link
Copy Markdown

The following commit authors need to sign the Contributor License Agreement:

CLA not signed

@OCA-git-bot OCA-git-bot added series:18.0 mod:purchase_order_line_price_history Module purchase_order_line_price_history labels Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:purchase_order_line_price_history Module purchase_order_line_price_history series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.