From 7aaea4aee1e2bfe4b4a67f074a2fa03a8741a9a3 Mon Sep 17 00:00:00 2001 From: Andreas Madsack Date: Sat, 13 Jan 2018 15:34:15 +0100 Subject: [PATCH] set source account to empty --- byro_shackspace/management/commands/import_shackbureau.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/byro_shackspace/management/commands/import_shackbureau.py b/byro_shackspace/management/commands/import_shackbureau.py index 089cbe5..b787036 100644 --- a/byro_shackspace/management/commands/import_shackbureau.py +++ b/byro_shackspace/management/commands/import_shackbureau.py @@ -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'])),