• Tatuya Kamada's avatar
    simulation: Mimic to evaluate the Merge request!1097 · d95486c1
    Tatuya Kamada authored
    Original MR message is the folowing.
    
    * *
    
    Fix Expand of Frozen split and defer simulation
    Expanding frozen Simulation resulting from a split and Defer raise a NotImplementedError.
    
    It comes from the _extendMovementCollectionDiff function in RuleMixin checking the recorded property "Quantity". The Quantity Split Solver set this variable to zero hence leading the function to consider compensation is needed. This merge request remove the setting of the recorded property quantity on the the split movement. Re-expanding from the root was also removing that recorded property asking the question if this is needed.
    
    As of now system having used Split and defer Quantity will most likely not be able to re-expand their resulting simulation.
    
    A Test is added to validate the fix.
    
    Merge Request !1097
    nexedi/erp5!1097/
    d95486c1
QuantitySplitSolver.py 6.52 KB