Always return decimal values on party deposit

issue7145
review44631002
This commit is contained in:
Sergi Almacellas Abellana committed 2018-02-20 09:26:34 +01:00
1 parent 21f71e753e
commit e3015c617f
1 file changed
+1 -1
+1 -1
View File
@@ -36,7 +36,7 @@ class Party:
line = MoveLine.__table__()
account = Account.__table__()
values = {p.id: 0 for p in parties}
values = {p.id: Decimal(0) for p in parties}
user = User(Transaction().user)
if not user.company: