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](product/ERP5/mixin/rule.py) 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. See merge request !1097
Showing
Please register or sign in to comment