Use int and Decimal instead of lambda
issue7816 review74401002
This commit is contained in:
1 parent
1cdcfc3070
commit
0951e97263
1 file changed
+1
-1
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user