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()