From ad979b71a206ba4ff82b1a6f66d6aca8f5bca0ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20V=C3=A1zquez=20Acosta?= Date: Mon, 28 Mar 2016 20:29:16 -0400 Subject: [PATCH] [FIX] account: account balances computation Commits 7b7f3fa and d6c88b8 filter out special periods from the account balances. However, this filtering is not necessary anymore for a closed fiscal year. The result is that the opening balance becomes wrong as soon as the previous fiscal year is closed. This commit fix this by computing the balance over all fiscal years. Closes #11515 --- addons/account/account_invoice_view.xml | 2 +- addons/account/account_view.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml index 71b6779178f..0a52580d7fd 100644 --- a/addons/account/account_invoice_view.xml +++ b/addons/account/account_invoice_view.xml @@ -337,7 +337,7 @@ attrs="{'readonly':[('internal_number','!=',False)]}"/> + context="{'periods_special': False, 'all_fiscalyear': True}"/>