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

[IMP] stock: Add hybrid procure method 'mts_else_mto' #32642

Closed
wants to merge 1 commit into from

Commits on Apr 15, 2019

  1. [IMP] stock: Add hybrid procure method 'mts_else_mto'

    In some occasions, products can be available in a location, but are still ignored when the MTO is set on those products.
    (e.g.: When a product is returned)
    
    To avoid this, we add a `procure_method` named `mts_else_mto`, allowing procurement to reserve the products if enough of them are available in his source location.
    In order to achieve this,  we apply the MTS or the MTO `procure_method` on the moves from the procurement depending on whether or not there are enough quantities of the needed products in the source location ('All or nothing' logic).
    
    TaskID: 1831347
    arbaes committed Apr 15, 2019
    Configuration menu
    Copy the full SHA
    8c29c02 View commit details
    Browse the repository at this point in the history