From d53bb47163e3a2379791cecb3edd5d219b506afe Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Wed, 19 Oct 2016 18:51:59 +0200 Subject: [PATCH] [FIX] account: workflow are gone in 10.0 --- addons/account/tests/test_account_supplier_invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/tests/test_account_supplier_invoice.py b/addons/account/tests/test_account_supplier_invoice.py index 232bd39ddc7..357ac04f8f2 100644 --- a/addons/account/tests/test_account_supplier_invoice.py +++ b/addons/account/tests/test_account_supplier_invoice.py @@ -92,7 +92,7 @@ class TestAccountSupplierInvoice(AccountingTestCase): self.assertTrue((invoice.state == 'draft'), "Initially vendor bill state is Draft") #change the state of invoice to open by clicking Validate button - invoice.signal_workflow('invoice_open') + invoice.action_invoice_open() # Check if amount and corresponded base is correct for all tax scenarios given on a computational base # Keep in mind that tax amount can be changed by the user at any time before validating (based on the invoice and tax laws applicable)