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

[15.0][MIG] stock_auto_move to v15 #1467

Merged
merged 35 commits into from
Mar 9, 2024

Commits on Dec 29, 2023

  1. Added stock_auto_move module

    npiganeau authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    0df84ca View commit details
    Browse the repository at this point in the history
  2. stock_auto_move : OCA compliant

    Laetitia Gangloff authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    b6eaa57 View commit details
    Browse the repository at this point in the history
  3. stock_auto_move : replace utf8 by utf-8, use camelcase in class name

    Laetitia Gangloff authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    403b783 View commit details
    Browse the repository at this point in the history
  4. Refactorings

    npiganeau authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    2f5d8fb View commit details
    Browse the repository at this point in the history
  5. stock_auto_move: externalize change group to be able to overload it

    Laetitia Gangloff authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    cebe7f0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4cf2475 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e5d270a View commit details
    Browse the repository at this point in the history
  8. [10.0] port stock_auto_move to 10.0

    Cédric Pigeon authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    4570e59 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    592b930 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ae37f94 View commit details
    Browse the repository at this point in the history
  11. [FIX] stock_auto_move: action_assign on stock_move should have an opt…

    …ional argument no_prepare
    Cédric Pigeon authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    c1c59e8 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3d869c7 View commit details
    Browse the repository at this point in the history
  13. [UPD] Update stock_auto_move.pot

    oca-travis authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    5342fb7 View commit details
    Browse the repository at this point in the history
  14. [ADD] icon.png

    OCA-git-bot authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    24c567f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    ad903a4 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    e35c857 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    84e6bd1 View commit details
    Browse the repository at this point in the history
  18. [9.0][REF]stock_auto_move: fix action_assign() (OCA#373)

    * The `_apply` method should not be overridden. In case of three step
    operation with the last step set to auto move. The override of the
    `_apply` method was causing the second move to be automatic as well.
    
    **Use case**: doing a reception operation in two steps where the moves on
    the second step are set to be automatic (using the push rule in this
    case), and the reception is done partially.
    **Expected Result**: When doing a first reception step partially a back
    order is created, and we expect the second step to have a back order for
    the remaining qty as well.
    **Current behavior**: The correct move is processed automatically but no
    backorder is created. The reason for that behavior is we processing the
    move directly (i.e calling `action_done` of the `stock.move`) without
    going through the normal process (i.e processing the second step
    picking).
    **The solution to the problem**: The processing the of the automatic
    stock move should follow the same behavior as done from the user interface.
    I've added a new function in `stock.picking` model called
    `_transfer_pickings_with_auto_move` to simulate the same behavior this
    function is called inside the `action_assign` of the stock move instead
    of calling the `action_done` of the move.
    zakiuu authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    379c79d View commit details
    Browse the repository at this point in the history
  19. [10.0][IMP] stock_auto_move: auto_confirm=>auto_move

    As in v>=12, stock.location.path and procurement.rule have been merged
    into stock.rule, use the same field name.
    rousseldenis authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    ce16711 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    5c253c6 View commit details
    Browse the repository at this point in the history
  21. [13.0][FIX] stock_auto_move: Don't change procurement group if exists

    If moves were created with a particular procurment group, don't
    change it to automatic one. Do it only if it's void.
    rousseldenis authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    41943fb View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    fc10fb2 View commit details
    Browse the repository at this point in the history
  23. [13.0][FIX] stock_auto_move: Use correct quantity field

    As unit of measure can be a different multiple than reference,
    use product_uom_qty instead.
    rousseldenis authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    7f8a641 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    abcc46b View commit details
    Browse the repository at this point in the history
  25. [13.0][IMP] stock_auto_move: Take into account 'No backorder' process

    If in a first picking, we transfer partially one quantity and
    say 'No backorder', the destination move should be split and
    cancelled for the remaining quantities if 'propagate_cancel'
    is set.
    rousseldenis authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    8729bd4 View commit details
    Browse the repository at this point in the history
  26. [13.0][IMP] stock_auto_move: Take into account cases with mixed moves…

    … (take2)
    
    In case of partial flows with move cancel and mixed moves (auto and manual),
    we need to create a backorder for manual quantities to not get a picking
    with moves with mixed states (done, cancel, assigned).
    
    We remove code that is never called on picking side
    rousseldenis authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    1c40de1 View commit details
    Browse the repository at this point in the history
  27. [14.0][MIG] - stock_auto_move

    sbejaoui authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    d3356c4 View commit details
    Browse the repository at this point in the history
  28. [UPD] Update stock_auto_move.pot

    oca-travis authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    6ddaa36 View commit details
    Browse the repository at this point in the history
  29. [UPD] README.rst

    OCA-git-bot authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    6c6d842 View commit details
    Browse the repository at this point in the history
  30. Translated using Weblate (Catalan)

    Currently translated at 100.0% (12 of 12 strings)
    
    Translation: stock-logistics-workflow-14.0/stock-logistics-workflow-14.0-stock_auto_move
    Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-14-0/stock-logistics-workflow-14-0-stock_auto_move/ca/
    Jaume Planas authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    69d3d16 View commit details
    Browse the repository at this point in the history
  31. [UPD] README.rst

    OCA-git-bot authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    672fb9b View commit details
    Browse the repository at this point in the history
  32. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: stock-logistics-workflow-14.0/stock-logistics-workflow-14.0-stock_auto_move
    Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-14-0/stock-logistics-workflow-14-0-stock_auto_move/
    weblate authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    82925ee View commit details
    Browse the repository at this point in the history
  33. Translated using Weblate (Italian)

    Currently translated at 100.0% (11 of 11 strings)
    
    Translation: stock-logistics-workflow-14.0/stock-logistics-workflow-14.0-stock_auto_move
    Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-14-0/stock-logistics-workflow-14-0-stock_auto_move/it/
    mymage authored and hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    a5bd853 View commit details
    Browse the repository at this point in the history
  34. [MIG] stock_auto_move to v15

    hbrunn committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    adf1fd9 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    cc72a73 View commit details
    Browse the repository at this point in the history