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

Commits on Sep 26, 2024

  1. Add stock_packaging_calculator

    simahawk authored and QuocDuong1306 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    dd394de 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 QuocDuong1306 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    6186050 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1d13d3e 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 QuocDuong1306 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    e60066a 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 QuocDuong1306 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    5d140ca View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    98348a5 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 QuocDuong1306 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    06649a2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2010eb9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6044ed7 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    99e7dc4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    83edf92 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ce97720 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    a624515 View commit details
    Browse the repository at this point in the history
  14. [IMP][stock_packaging_calculator] Add key is_unit for in the packagin…

    …g calculator return
    Tonow-c2c authored and QuocDuong1306 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    5f75fe8 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    43d55bc View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    eb7f298 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 QuocDuong1306 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    b710a18 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 QuocDuong1306 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    973d874 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    e69b821 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    dd34588 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    87f47a7 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    27d4e75 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    d797893 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    99ed59c 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 QuocDuong1306 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    9f0e38c 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 QuocDuong1306 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    fa1bfb7 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 QuocDuong1306 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    477dfd1 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    f65d8ef 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 QuocDuong1306 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    89f58ea 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 QuocDuong1306 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    dd9ba33 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    a17507e View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    a0d41a8 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    bf01f70 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    219929b View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    b683def View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    32fcf97 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    d4feffc View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    db7dfba View commit details
    Browse the repository at this point in the history
  39. [UPD] Update stock_packaging_calculator.pot

    oca-ci authored and QuocDuong1306 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    202e575 View commit details
    Browse the repository at this point in the history
  40. [BOT] post-merge updates

    OCA-git-bot authored and QuocDuong1306 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    8d03431 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    855222a View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    ff89a41 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    3863af0 View commit details
    Browse the repository at this point in the history