From ce310606d4b80a153ac1fc91fc1657f4277fdead Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Wed, 2 Aug 2017 11:38:26 +0200 Subject: [PATCH] [FIX] account_payment_order: Adapt test to v10 --- account_payment_order/tests/test_payment_order.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_payment_order/tests/test_payment_order.py b/account_payment_order/tests/test_payment_order.py index a39069cbd..bd17212d3 100644 --- a/account_payment_order/tests/test_payment_order.py +++ b/account_payment_order/tests/test_payment_order.py @@ -43,7 +43,7 @@ class TestPaymentOrder(TransactionCase): def test_cancel_payment_order(self): # Open invoice - self.invoice.signal_workflow('invoice_open') + self.invoice.action_invoice_open() # Add to payment order self.invoice.create_account_payment_line()