Skip to content

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

Open
vvrossem wants to merge 15 commits into
OCA:19.0from
camptocamp:19.0-mig-sale_order_blanket_order_stock_prebook_release
Open

vvrossem wants to merge 15 commits into
OCA:19.0from
camptocamp:19.0-mig-sale_order_blanket_order_stock_prebook_release

Conversation

@vvrossem

@vvrossem vvrossem commented Oct 20, 2026 •

Copy link
Copy Markdown

Migration of sale_order_blanket_order_stock_prebook_release to 19.0.

Changes

  • _prepare_procurement_values() no longer takes group_id, like core.
  • _inverse_blanket_validity_start_date reads self.env.context instead of _context.

Unmerged dependencies, pulled in by the [DO NOT MERGE] test-requirements.txt commit:

The first commit is the CI fix from #56 (sale_order_blanket_order excludes sale_blanket_order, so they are tested in separate jobs). It drops out once #56 is merged.

@OCA-git-bot OCA-git-bot added mod:sale_order_blanket_order_stock_prebook Module sale_order_blanket_order_stock_prebook mod:sale_order_blanket_order Module sale_order_blanket_order mod:sale_order_blanket_order_stock_prebook_release Module sale_order_blanket_order_stock_prebook_release series:19.0 labels Oct 20, 2026
@vvrossem
vvrossem force-pushed the 19.0-mig-sale_order_blanket_order_stock_prebook_release branch from dd4a0e6 to 01f2ad5 Compare October 20, 2026 08:47
vvrossem and others added 15 commits October 20, 2026 10:49
sale_order_blanket_order excludes sale_blanket_order, so they can't be
installed together. Same rebel module group as on 18.0, see
OCA@8111008
…ority on blanket orders

When a call-off order is confirmed for a product, the priority date used to compute the quantity available at promised date must be the start date of the blanket order.

This is required to ensure that the principle of first-come, first-served is respected.
In the case of a product part of a blanket order the date to consider must be the start date of the blanket order and not the date of the call-off order.
…tion error handling on blanket order confirm.

Prevents a stack trace from being displayed to the user when confirming a blanket order
without required validity dates.
… moves priority dates on blanket order date change

Ensures consistency of related output moves' `date_priority` when a blanket order's validity dates are modified after confirmation.
…hods instead of compute to link validity start date and commitment date
Currently translated at 100.0% (8 of 8 strings)

Translation: sale-blanket-16.0/sale-blanket-16.0-sale_order_blanket_order_stock_prebook_release
Translate-URL: https://translation.odoo-community.org/projects/sale-blanket-16-0/sale-blanket-16-0-sale_order_blanket_order_stock_prebook_release/it/
…ket_move_date_priority

Renamed _compute_blanket_move_date_priotiy as _set_... since the function is not used in a field's compute attribute
@vvrossem
vvrossem force-pushed the 19.0-mig-sale_order_blanket_order_stock_prebook_release branch from 01f2ad5 to ae4be5f Compare October 20, 2026 08:49
@OCA-git-bot OCA-git-bot removed mod:sale_order_blanket_order_stock_prebook Module sale_order_blanket_order_stock_prebook mod:sale_order_blanket_order Module sale_order_blanket_order labels Oct 20, 2026
@vvrossem
vvrossem marked this pull request as ready for review October 20, 2026 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:sale_order_blanket_order_stock_prebook_release Module sale_order_blanket_order_stock_prebook_release series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants