From ebcc9cc76c3d129fe557ddf073afc2e91b53e1f1 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Wed, 13 Jun 2018 11:32:20 +0200 Subject: [PATCH] [FIX] account_financial_report_qweb: Move tests to post mode This fixes failing tests in integration environments where `account_analytic_required` is installed, which fail with: IntegrityError: null value in column "analytic_policy" violates not-null constraint --- account_financial_report_qweb/__manifest__.py | 2 +- account_financial_report_qweb/tests/abstract_test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/account_financial_report_qweb/__manifest__.py b/account_financial_report_qweb/__manifest__.py index aa3c181b..266593aa 100644 --- a/account_financial_report_qweb/__manifest__.py +++ b/account_financial_report_qweb/__manifest__.py @@ -5,7 +5,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { 'name': 'QWeb Financial Reports', - 'version': '10.0.1.5.0', + 'version': '10.0.1.5.1', 'category': 'Reporting', 'summary': 'OCA Financial Reports', 'author': 'Camptocamp SA,' diff --git a/account_financial_report_qweb/tests/abstract_test.py b/account_financial_report_qweb/tests/abstract_test.py index c5e1bfeb..bef6e01f 100644 --- a/account_financial_report_qweb/tests/abstract_test.py +++ b/account_financial_report_qweb/tests/abstract_test.py @@ -13,7 +13,7 @@ _logger = logging.getLogger(__name__) class AbstractTest(common.TransactionCase): """Common technical tests for all reports.""" - at_install = True + at_install = False post_install = True accounts = {}