Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] stock_packaging_calculator: Migration to 18.0 #4

Open
wants to merge 43 commits into
base: 18.0-dev
Choose a base branch
from

Conversation

thienvh332
Copy link

Ported PRs

  • #1407
  • #1902

simahawk and others added 30 commits September 26, 2024 09:14
Customizing the minimal unit was not needed at all.
This way we always assume the precision is the on of the UoM.
Allows to ship more information with each element in the list.
Optionally include contained packaging qty.
Allows to reuse the mapping every time is needed.
Make sure unit is always the last element in the list.
Use _packaging_values_handler ctx key to pass your own handler
for specific on demand overrides.
Retrieve quickly packagin bty qty as a string.
This mixin can be used to provide qty by packaging features
to any model.
Otherwise translations won't be taken into account.
This way no matter who's changing the behavior of the name getter
we'll get the right name.
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.