[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.

This commit is contained in:
pvy
2015-08-31 11:21:33 +02:00
parent 5b8ac85396
commit 15a34a822c
+2 -2
View File
@@ -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