mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
diff in currency must use starting balance in currency
This commit is contained in:
committed by
Sandy Carter
parent
35f3b8d1c9
commit
0783ebbb6f
@@ -460,7 +460,7 @@ class bank_acc_rec_statement(orm.Model):
|
||||
sres['difference_in_currency'] = round(
|
||||
(statement.ending_balance_in_currency
|
||||
- sres['cleared_balance_in_currency']
|
||||
- statement.starting_balance),
|
||||
- statement.starting_balance_in_currency),
|
||||
account_precision)
|
||||
sres['general_ledger_balance'] = self._get_gl_balance(
|
||||
cr, uid, statement.account_id.id, statement.ending_date)
|
||||
|
||||
Reference in New Issue
Block a user