diff --git a/addons/account/tests/account_test_classes.py b/addons/account/tests/account_test_classes.py index 20a77148bf7..42ba9268187 100644 --- a/addons/account/tests/account_test_classes.py +++ b/addons/account/tests/account_test_classes.py @@ -1,4 +1,8 @@ # -*- coding: utf-8 -*- + +import logging +_logger = logging.getLogger(__name__) + from odoo.tests.common import HttpCase from odoo.exceptions import ValidationError @@ -16,6 +20,7 @@ class AccountingTestCase(HttpCase): super(AccountingTestCase, self).setUp() domain = [('company_id', '=', self.env.ref('base.main_company').id)] if not self.env['account.account'].search_count(domain): + _logger.warn('Test skipped because there is no chart of account defined ...') self.skipTest("No Chart of account found") def check_complete_move(self, move, theorical_lines):