[FIX] recursion
This commit is contained in:
parent
d14297ac53
commit
98bc5adc6e
|
@ -80,7 +80,8 @@ class account_cash_statement(osv.osv):
|
|||
if (statement.journal_id.type not in ('cash',)):
|
||||
continue
|
||||
if not statement.journal_id.cash_control:
|
||||
statement.write({'balance_end_real' : statement.balance_end})
|
||||
if statement.balance_end_real <> statement.balance_end:
|
||||
statement.write({'balance_end_real' : statement.balance_end})
|
||||
continue
|
||||
start = end = 0
|
||||
for line in statement.details_ids:
|
||||
|
|
Loading…
Reference in New Issue