From 308d8e3bfaa857f3bb255526fd9bb7760e58c089 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mois=C3=A9s=20L=C3=B3pez?= Date: Fri, 10 Nov 2017 05:08:00 +0000 Subject: [PATCH] =?UTF-8?q?[FIX]=C2=A0contract=5Fpayment=5Fauto:=20Fix=20f?= =?UTF-8?q?reze=20wkhtmltopdf=20freezed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- contract_sale_generation/tests/test_contract_invoice.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/contract_sale_generation/tests/test_contract_invoice.py b/contract_sale_generation/tests/test_contract_invoice.py index 5974b6bb..1b321f7e 100644 --- a/contract_sale_generation/tests/test_contract_invoice.py +++ b/contract_sale_generation/tests/test_contract_invoice.py @@ -4,11 +4,13 @@ # Copyright 2017 Angel Moya # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +import odoo.tests from odoo.exceptions import ValidationError -from odoo.tests.common import TransactionCase -class TestContractInvoice(TransactionCase): +@odoo.tests.at_install(False) +@odoo.tests.post_install(True) +class TestContractInvoice(odoo.tests.HttpCase): # Use case : Prepare some data for current test case def setUp(self):