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

[17.0][MIG] stock_packaging_calculator: Migration to 17.0 #2067

Merged

Commits on Jun 10, 2024

  1. Add stock_packaging_calculator

    simahawk authored and nguyenminhchien committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    e821063 View commit details
    Browse the repository at this point in the history
  2. stock_packaging_calculator: make product uom the minimal unit

    Customizing the minimal unit was not needed at all.
    This way we always assume the precision is the on of the UoM.
    simahawk authored and nguyenminhchien committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    57761fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    86ba203 View commit details
    Browse the repository at this point in the history
  4. stock_packaging_calculator: return dict instead of tuple

    Allows to ship more information with each element in the list.
    simahawk authored and nguyenminhchien committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    7f3e323 View commit details
    Browse the repository at this point in the history
  5. stock_packaging_calculator: add contained packaging compute

    Optionally include contained packaging qty.
    simahawk authored and nguyenminhchien committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    dfb9ccc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b2812f6 View commit details
    Browse the repository at this point in the history
  7. stock_packaging_calculator: make contained mapping computed

    Allows to reuse the mapping every time is needed.
    simahawk authored and nguyenminhchien committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    d4683ba View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ecbc07b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d60d56b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f989e72 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0a0fa94 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    aa4d9b3 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ed50ffb View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    9b00109 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    06f4cbc View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    fee7246 View commit details
    Browse the repository at this point in the history
  17. packaging_calculator: fix sorting

    Make sure unit is always the last element in the list.
    simahawk authored and nguyenminhchien committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    062ddec View commit details
    Browse the repository at this point in the history
  18. packaging_calculator: allow custom value handler

    Use _packaging_values_handler ctx key to pass your own handler
    for specific on demand overrides.
    simahawk authored and nguyenminhchien committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    90bab81 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    7f2bb55 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    a989a1e View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    9c3c1bd View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    1580d8e View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    9976cab View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    20c1fc9 View commit details
    Browse the repository at this point in the history
  25. s_packaging_calculator: add product_qty_by_packaging_as_str

    Retrieve quickly packagin bty qty as a string.
    simahawk authored and nguyenminhchien committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    d883283 View commit details
    Browse the repository at this point in the history
  26. s_packaging_calculator: add handy mixin

    This mixin can be used to provide qty by packaging features
    to any model.
    simahawk authored and nguyenminhchien committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    9f0984f View commit details
    Browse the repository at this point in the history
  27. s_packaging_calculator: contained mapping depends on lang

    Otherwise translations won't be taken into account.
    simahawk authored and nguyenminhchien committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    d9dce66 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    6134dd4 View commit details
    Browse the repository at this point in the history
  29. s_packaging_calculator: improve test util

    This way no matter who's changing the behavior of the name getter
    we'll get the right name.
    simahawk authored and nguyenminhchien committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    35cfc4c View commit details
    Browse the repository at this point in the history
  30. [IMP] stock_packaging_calculator: black, isort, prettier

    nguyen hoang hiep authored and nguyenminhchien committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    1c99a9b View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    fd86673 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    64ff32b View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    7295ebf View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    b7db64a View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    174132d View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    8abac2a View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    71d6610 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. Configuration menu
    Copy the full SHA
    e30a8a6 View commit details
    Browse the repository at this point in the history