From 87ad2e8cb1a687aa31daa3b35f81031b1c003044 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Thu, 17 Jan 2008 17:08:07 +0000
Subject: [PATCH] Another movement group to group by payment_mode

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

diff --git a/product/ERP5/MovementGroup.py b/product/ERP5/MovementGroup.py
index 269e5fd137..cefd407766 100644
--- a/product/ERP5/MovementGroup.py
+++ b/product/ERP5/MovementGroup.py
@@ -1103,7 +1103,6 @@ allow_class(DestinationMovementGroup)
 class DestinationDecisionMovementGroup(PropertyMovementGroup):
   """Group movements having the same destination decision."""
   _property = 'destination_decision'
-
 allow_class(DestinationDecisionMovementGroup)
 
 class SourceProjectMovementGroup(PropertyMovementGroup):
@@ -1138,3 +1137,9 @@ class QuantityUnitMovementGroup(PropertyMovementGroup):
   """ Group movements that have the same quantity unit."""
   _property = 'quantity_unit'
 allow_class(QuantityUnitMovementGroup)
+
+class PaymentModeMovementGroup(PropertyMovementGroup):
+  """ Group movements that have the same payment mode."""
+  _property = 'payment_mode'
+allow_class(PaymentModeMovementGroup)
+
-- 
2.30.9