[FIX] account: workflow are gone in 10.0

This commit is contained in:
Christophe Simonis
2016-10-19 18:51:59 +02:00
parent 42481f9849
commit d53bb47163
@@ -92,7 +92,7 @@ class TestAccountSupplierInvoice(AccountingTestCase):
self.assertTrue((invoice.state == 'draft'), "Initially vendor bill state is Draft") self.assertTrue((invoice.state == 'draft'), "Initially vendor bill state is Draft")
#change the state of invoice to open by clicking Validate button #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 # 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) # 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)