diff --git a/product/ERP5/MovementGroup.py b/product/ERP5/MovementGroup.py index 269e5fd13744881093a3f3b0ece2b9f31893fbb5..cefd4077663bc5af13a5f3c0ee082b114fe9a6a2 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) +