From d1dccf906ff7c75a2c8ab0107d201e523a331052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 8 Nov 2012 13:17:03 +0100 Subject: [PATCH] Fix typo when resetting context for deferral computation of debit/credit --- account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account.py b/account.py index abe41b6d00..b68f18d39d 100644 --- a/account.py +++ b/account.py @@ -809,7 +809,7 @@ class Account(ModelSQL, ModelView): name) else: with Transaction().set_context(fiscalyear=fiscalyear.id, - date=None, dates=None): + date=None, periods=None): res2 = cls.get_credit_debit(accounts, names) for account in accounts: for name in names: