Skip to content

[19.0][MIG] purchase_open_qty: Migration to 19.0#2989

Open
ellbristow wants to merge 38 commits intoOCA:19.0from
GlodoUK:19.0-mig-purchase_open_qty
Open

[19.0][MIG] purchase_open_qty: Migration to 19.0#2989
ellbristow wants to merge 38 commits intoOCA:19.0from
GlodoUK:19.0-mig-purchase_open_qty

Conversation

@ellbristow
Copy link
Contributor

@ellbristow ellbristow commented Mar 16, 2026

Depends on: #2846

MiquelRForgeFlow and others added 30 commits March 16, 2026 15:05
orders with pending (or not pending) quantity to receive/invoice.
Currently translated at 100.0% (7 of 7 strings)

Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_open_qty
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_open_qty/zh_CN/
Currently translated at 100.0% (7 of 7 strings)

Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_open_qty
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_open_qty/it/
Currently translated at 100.0% (7 of 7 strings)

Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_open_qty
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_open_qty/pt_BR/
Currently translated at 100.0% (7 of 7 strings)

Translation: purchase-workflow-13.0/purchase-workflow-13.0-purchase_open_qty
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_open_qty/zh_CN/
…tity at line level

Wrong filter fields at line level, the module is trying to use the
computed fields of the order instead of the line ones.
Currently translated at 100.0% (7 of 7 strings)

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

Translation: purchase-workflow-13.0/purchase-workflow-13.0-purchase_open_qty
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_open_qty/fr/
Currently translated at 85.7% (6 of 7 strings)

Translation: purchase-workflow-14.0/purchase-workflow-14.0-purchase_open_qty
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-14-0/purchase-workflow-14-0-purchase_open_qty/es/
Currently translated at 57.1% (4 of 7 strings)

Translation: purchase-workflow-14.0/purchase-workflow-14.0-purchase_open_qty
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-14-0/purchase-workflow-14-0-purchase_open_qty/fr_BE/
…ding to bill

If 10 units received, all units invoiced and returning 5 units, but this units are not
invoiced, the purchase has -5 units to invoice so this purchase order should appear as
pending to invoice.
Currently translated at 100.0% (7 of 7 strings)

Translation: purchase-workflow-15.0/purchase-workflow-15.0-purchase_open_qty
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_open_qty/it/
Qty to receive for services cannot be based on stock moves.
santostelmo and others added 7 commits March 16, 2026 15:11
[MIG] purchase_open_qty: Migration to 16.0
Currently translated at 100.0% (7 of 7 strings)

Translation: purchase-workflow-17.0/purchase-workflow-17.0-purchase_open_qty
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-17-0/purchase-workflow-17-0-purchase_open_qty/it/
Move models and views into model specific files.
Fixed SQL in init_hook to avoid incorrect qty_to_receive on service product's PO lines,
which were previously computed like stockable products via stock moves.
@ellbristow ellbristow force-pushed the 19.0-mig-purchase_open_qty branch from 3349717 to 7d70d61 Compare March 16, 2026 14:58
@ellbristow ellbristow force-pushed the 19.0-mig-purchase_open_qty branch from 7d70d61 to 26de0a3 Compare March 16, 2026 15:24
@ellbristow ellbristow marked this pull request as ready for review March 16, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.