Fix infinite loop in get_credit_debit with a date
This commit is contained in:
1 parent
0aca2258b4
commit
a3675d59e7
1 file changed
+2
-2
+2
-2
@@ -751,8 +751,8 @@ class Account(OSV):
|
||||
else:
|
||||
ctx = context.copy()
|
||||
ctx['fiscalyear'] = fiscalyear.id
|
||||
if 'date' in context:
|
||||
del context['date']
|
||||
if 'date' in ctx:
|
||||
del ctx['date']
|
||||
res2 = self.get_credit_debit(cursor, user, ids, names, arg,
|
||||
context=ctx)
|
||||
for account_id in ids:
|
||||
|
||||
Reference in new issue
Block a user