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] mrp_workorder: flexible component consumption #31473

Closed
wants to merge 2 commits into from

Commits on Mar 27, 2019

  1. [IMP] mrp: flexible component consumption

    Purpose: The quantities to consume on Bill of Material lines should be
    either strictly used or be taken as a reference more or less adjustable.
    
    This commit adds a setting on BoM to specify if the consumption is 'strict'
    or 'flexible'. This new option has the following impacts:
    
       On produce wizard: if consumption is set to 'strict', the done quantities
       are prefilled and checked when saving the wizard. If set to 'flexible',
       the production flow remains the same as present one.
    
       On workorders: if consumption is set to 'strict', the Validate button
       will save the consumed data, and propose to fill the remaining ones until
       the total is registered. If set to 'flexible', two button are displayed.
       'Validate' to register the current component and pass to next step either
       the quantity to consume is complete or not, and 'Continue Consumption'
       to registered the current component quantity but leaving the user the
       possibility to add more quantity (and possibly another lot number) for
       the current component
    
    This commit also revert partially d3617fd
    as the warning become some sort of an error
    
    Task: 1889393
    Whenrow committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    1f7f869 View commit details
    Browse the repository at this point in the history
  2. [FIX] mrp: update test_order.py

    - Add docstrings
    - Use Form views in all tests
    - Add some missing assets
    Whenrow committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    894599c View commit details
    Browse the repository at this point in the history