[FIX] pass correct parameter to compute the balance on partner form with all entries not complete reconciled
[IMP] account: set test on closing account invoice on previous year instead of next one
[FIX] account: correct test with valid error message
[TEST] test with failing test
[FIX] account: go green test\!, also set the test to previous year
[MERGE] sync with 7.0
[REV] revert partner.py to revision 9043 (error cf lp:1219381 comment #11)
[FIX] account: compute debit credit based on previous year to have consistent result all the time, courtesy of Nhomar (vauxoo)
[FIX] account: computation of debit/credit on partner is based on past year moves instead of reported entries, courtesy of Nhomar Hernandez (vauxoo)
This change allows to have consistency in values instead of depending on when the fiscal year is closed and when the entries are generated