[IMP] account: support for partial reconciliation in aged partner balance
authorMartin Trigaux <mat@openerp.com>
Wed, 21 May 2014 13:44:46 +0000 (15:44 +0200)
committerMartin Trigaux <mat@openerp.com>
Wed, 21 May 2014 13:48:35 +0000 (15:48 +0200)
commitabe5c803a0e36f18aec4cc56abc289f66329a749
tree0df7a6d7cf0e3572dc64ecceab7a340c0b0c85c4
parentb6a7402fdbddfe817fa36292e6f89e8659f9bdea
[IMP] account: support for partial reconciliation in aged partner balance

When computing the aged partner balance, the partial reconciliation was not
handled correctly. The reconciled amount should be removed from the original
remaining amount instead of displaying two entries in the journal.
eg: if invocie of 1000 in period 1 and payment of 300 in period 2, should only
display +700 in period 1 instead of two entries
addons/account/report/account_aged_partner_balance.py