Skip to content

[BLOCKED][19.0][MIG] ddmrp_packaging: needs redesign (product.packaging removed in 19)#9

Draft
dnplkndll wants to merge 45 commits into
19.0from
19.0-mig-ddmrp_packaging
Draft

[BLOCKED][19.0][MIG] ddmrp_packaging: needs redesign (product.packaging removed in 19)#9
dnplkndll wants to merge 45 commits into
19.0from
19.0-mig-ddmrp_packaging

Conversation

@dnplkndll

@dnplkndll dnplkndll commented Jun 12, 2026

Copy link
Copy Markdown

Blocked — not a mechanical port. Core 19 removed the product.packaging model (packagings became UoMs: product.template.uom_ids). This module's central field (stock.buffer.packaging_id → product.packaging) and package_multiple logic need a redesign onto the packaging-as-UoM model. CI red is structural (unknown comodel_name 'product.packaging'). Kept as draft for the redesign discussion; ddmrp_packaging_product_replace (T2) is blocked behind it.

@dnplkndll dnplkndll changed the title [fork-CI] [19.0][MIG] ddmrp_packaging: Migration to 19.0 [BLOCKED][19.0][MIG] ddmrp_packaging: needs redesign (product.packaging removed in 19) Jun 12, 2026
@dnplkndll dnplkndll force-pushed the 19.0-mig-ddmrp_packaging branch 6 times, most recently from 1ef6271 to ac86030 Compare June 19, 2026 16:11
@dnplkndll dnplkndll force-pushed the 19.0-mig-ddmrp_packaging branch 3 times, most recently from 6808787 to 2e7f7c6 Compare July 7, 2026 13:34
LoisRForgeFlow and others added 20 commits July 9, 2026 16:06
when navigating to a package from the buffer. For instance, when
the `delivery` module the delivery view gets precedence.
It has been proven to be a problem more than an aid.
As long as the qty_multiple is updated correctly the recommended
procurement will respect it. MOQ field should be reserved to
contractual constraints agreed with the vendor.
When the contained quantity of a packaging is updated, it should
update the product multiple quantity in all the buffers where it
is used.
fields instead of onchange.

This ensures consistent behavior on backend changes and changes
done using UI. Being more specific, without this change there was
as conflict with the module `ddmrp_product_replace`, when you
replace a product, the product of the buffer is written but the
packaging is not cleared out like it happens when you do it
using UI.

This is more in line with the most recent odoo guidelines to
reduce the use of onchange methods and also good to avoid the
need for a glue module.
Set a value on every path in a compute method.
OCA-git-bot and others added 25 commits July 9, 2026 16:06
On the wizard to make a procurement from a stock.buffer.
This change allows to select a packaging and a quantity of that
specific packaging, to automatically fill the quantity to procure.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ddmrp-15.0/ddmrp-15.0-ddmrp_packaging
Translate-URL: https://translation.odoo-community.org/projects/ddmrp-15-0/ddmrp-15-0-ddmrp_packaging/
Currently translated at 100.0% (10 of 10 strings)

Translation: ddmrp-15.0/ddmrp-15.0-ddmrp_packaging
Translate-URL: https://translation.odoo-community.org/projects/ddmrp-15-0/ddmrp-15-0-ddmrp_packaging/it/
Currently translated at 100.0% (10 of 10 strings)

Translation: ddmrp-15.0/ddmrp-15.0-ddmrp_packaging
Translate-URL: https://translation.odoo-community.org/projects/ddmrp-15-0/ddmrp-15-0-ddmrp_packaging/it/
Currently translated at 100.0% (10 of 10 strings)

Translation: ddmrp-15.0/ddmrp-15.0-ddmrp_packaging
Translate-URL: https://translation.odoo-community.org/projects/ddmrp-15-0/ddmrp-15-0-ddmrp_packaging/es/
Signed-off-by: Don Kendall <dkendall@ledoweb.com>
Signed-off-by: Don Kendall <dkendall@ledoweb.com>
@dnplkndll dnplkndll force-pushed the 19.0-mig-ddmrp_packaging branch from 2e7f7c6 to 6cb2a7b Compare July 9, 2026 16:06
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.