From 9a9f0fea546e9c5570a946aada34c1d6d61f1569 Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Thu, 23 Mar 2006 09:07:08 +0000
Subject: [PATCH] Add SplitMovementGroup, used to separate every movement.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6188 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/MovementGroup.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/product/ERP5/MovementGroup.py b/product/ERP5/MovementGroup.py
index cc067949aa..e5c1cfdee0 100755
--- a/product/ERP5/MovementGroup.py
+++ b/product/ERP5/MovementGroup.py
@@ -991,3 +991,11 @@ class AggregateMovementGroup(RootMovementGroup):
 
 allow_class(AggregateMovementGroup)
 
+class SplitMovementGroup(RootMovementGroup):
+  def __init__(self,movement, **kw):
+    RootMovementGroup.__init__(self, movement=movement, **kw)
+
+  def test(self, movement):
+    return 0
+
+allow_class(AggregateMovementGroup)
-- 
2.30.9