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

[16.0][IMP] ddmrp: Add customized Stock Moves view #446

Merged

Commits on May 14, 2024

  1. [IMP] ddmrp: Add customized Stock Moves view

    When checking incoming quantities or qualified demand moves, we will use a customized view that allows to redirect to the source document of that move.
    
    A stock move can be chained with many other moves and can have two sources, like a dropship. Then, to calculate the source of that stock move, a list of fields ordered by priority is followed, in which if any record is found in any of them, it is returned as a source.
    For example, if we have a stock move that belongs to a dropship with related sale and purchase, it will always return the sale as source because its the first field in the list. The sources field method is extensible to add any others that are needed.
    BernatPForgeFlow committed May 14, 2024
    Configuration menu
    Copy the full SHA
    ad046f8 View commit details
    Browse the repository at this point in the history