Commit 34c83947 authored by Rafael Monnerat's avatar Rafael Monnerat

Split movement group must split

See merge request nexedi/erp5!1893
parents 4a639656 298470ea
Pipeline #33186 failed with stage
in 0 seconds
...@@ -33,10 +33,6 @@ class SplitMovementGroup(MovementGroup): ...@@ -33,10 +33,6 @@ class SplitMovementGroup(MovementGroup):
This movement group is used to split all the movements that are aggregated This movement group is used to split all the movements that are aggregated
by the Simulation Select Method. by the Simulation Select Method.
XXX-Tatuya: However this test() method returns True, so the aggregated
movements can be inserted into existing Delivery/Line/Cell that are aggregated
by the Delivery Select Method. What use case this is applied for?
* Reference: * Reference:
http://www.erp5.org/HowToConfigureMovementGroup http://www.erp5.org/HowToConfigureMovementGroup
...@@ -56,7 +52,7 @@ class SplitMovementGroup(MovementGroup): ...@@ -56,7 +52,7 @@ class SplitMovementGroup(MovementGroup):
return {} return {}
def test(self, document, property_dict, **kw): def test(self, document, property_dict, **kw):
return True, property_dict return False, property_dict
def _separate(self, movement_list, **kw): def _separate(self, movement_list, **kw):
return [[[movement], {}] for movement in movement_list] return [[[movement], {}] for movement in movement_list]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment