From 15a34a822ccbd99cd2a669a856d15f13115d8ab0 Mon Sep 17 00:00:00 2001 From: pvy Date: Mon, 31 Aug 2015 10:06:20 +0200 Subject: [PATCH] [FIX] sale: accounting dependant tests should extend the class AccountingTestCase so that it will run 'post install' and return True if no chart of account is installed. --- addons/sale/tests/test_sale_common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/sale/tests/test_sale_common.py b/addons/sale/tests/test_sale_common.py index 7314fb0d78b..a7144af6d57 100644 --- a/addons/sale/tests/test_sale_common.py +++ b/addons/sale/tests/test_sale_common.py @@ -1,9 +1,9 @@ # -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. -from openerp.tests import common +from openerp.addons.account.tests.account_test_classes import AccountingTestCase -class TestSale(common.TransactionCase): +class TestSale(AccountingTestCase): def setUp(self): super(TestSale, self).setUp() # some users