[19.0][MIG] product_packaging_dimension: Migration to 19.0#2327
Open
yankinmax wants to merge 20 commits into
Open
[19.0][MIG] product_packaging_dimension: Migration to 19.0#2327yankinmax wants to merge 20 commits into
yankinmax wants to merge 20 commits into
Conversation
e50fc5f to
6c86f51
Compare
…ply query if column max_weight exists. This column is no longer defined in 16.0
6c86f51 to
327e7b9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added new dependency on
product_packagingalong withproduct_logistics_uomto align with the 19.0 module split.Kept
product_packaging_dimensionfocused on dimensions only: it now addspackaging_length,width,height, and the length UoM label.Removed duplicated ownership of fields now provided by
product_packaging:weight,volume,weight_uom_name, andvolume_uom_name.Updated
_compute_volume()as an override withsuper(), so dimensional volume calculation extends the base packaging behavior.Added a pre-migration script to convert legacy per-record
length_uom_idandweight_uom_idvalues into the configured global logistics UoMs before the old columns disappear.Updated views and tests to use the new base packaging view structure and global UoM configuration, without changing the module’s business purpose.
Depends on: