Use int and Decimal instead of lambda

issue7816
review74401002
This commit is contained in:
Cédric Krier committed 2018-10-31 18:17:35 +01:00
1 parent 1cdcfc3070
commit 0951e97263
1 file changed
+1 -1
+1 -1
View File
@@ -183,7 +183,7 @@ class Letter(metaclass=PoolMeta):
@property
def fees(self):
fees = defaultdict(lambda: 0)
fees = defaultdict(int)
fees.update(super(PartyLetterFee, self).fees)
for dunning in self.dunnings:
for fee in dunning.fees: