Skip to content

[IMP] product_packaging_dimension: Don't use max_weight anymore#1386

Merged
OCA-git-bot merged 2 commits into
OCA:16.0from
acsone:16.0-fix-product_packaging_dimension-dro
Sep 27, 2023
Merged

[IMP] product_packaging_dimension: Don't use max_weight anymore#1386
OCA-git-bot merged 2 commits into
OCA:16.0from
acsone:16.0-fix-product_packaging_dimension-dro

Conversation

@rousseldenis
Copy link
Copy Markdown
Contributor

@rousseldenis rousseldenis commented Jul 14, 2023

As max_weight is defined now on stock.package.type, rely on that one.

Migrate data that was filled in to weight field.

Added string label to packaging_length too.

@rousseldenis
Copy link
Copy Markdown
Contributor Author

@marielejeune @jbaudoux

Comment thread product_packaging_dimension/models/product_packaging.py
@rousseldenis rousseldenis force-pushed the 16.0-fix-product_packaging_dimension-dro branch from 23a3da2 to fefcce0 Compare July 14, 2023 08:44
Comment thread product_packaging_dimension/migrations/16.0.1.1.0/pre-migrate.py
As max_weight is defined now on stock.package.type, rely on that one.

Migrate data that was filled in to weight field.
@rousseldenis rousseldenis force-pushed the 16.0-fix-product_packaging_dimension-dro branch from 3e5467b to 3b66da6 Compare July 25, 2023 06:34
@rousseldenis
Copy link
Copy Markdown
Contributor Author

@marielejeune

@jbaudoux
Copy link
Copy Markdown
Contributor

jbaudoux commented Sep 27, 2023

As max_weight is defined now on stock.package.type, rely on that one.

Don't rely 😉

This PR relates to my comment here
#1161 (comment)

Cc @sebalix

@rousseldenis
Copy link
Copy Markdown
Contributor Author

/ocabot merge nobump

@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 16.0-ocabot-merge-pr-1386-by-rousseldenis-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit d3ad39f into OCA:16.0 Sep 27, 2023
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 3d7fce2. Thanks a lot for contributing to OCA. ❤️

@lmignon lmignon deleted the 16.0-fix-product_packaging_dimension-dro branch February 21, 2024 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants