mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
get only posted moves for GL balance
This commit is contained in:
committed by
Sandy Carter
parent
cffe26c818
commit
58d58abc8c
@@ -472,7 +472,8 @@ class bank_acc_rec_statement(orm.Model):
|
||||
balance = account_obj.read(
|
||||
cr, uid, account_id, ['balance'],
|
||||
context={'date_from': date_from,
|
||||
'date_to': date})
|
||||
'date_to': date,
|
||||
'state': 'posted'})
|
||||
return balance["balance"]
|
||||
|
||||
def _get_move_line_write(self, line):
|
||||
|
||||
Reference in New Issue
Block a user