set source account to empty

This commit is contained in:
Andreas Madsack 2018-01-13 15:34:15 +01:00
parent f6e9afc009
commit 7aaea4aee1

View File

@ -92,7 +92,7 @@ def _import_inflows(member, virtual_transactions, real_transactions):
VirtualTransaction.objects.get_or_create(
destination_account=account,
source_account=liability_account,
source_account=None,
member=member,
amount=abs(Decimal(inflow['amount'])),
value_datetime=localize(parse_date(inflow['due_date'])),