[FIX] account_payment_order: Adapt test to v10

This commit is contained in:
Pedro M. Baeza
2017-08-02 11:38:26 +02:00
committed by Enric Tobella
parent b36b396c78
commit ce310606d4

View File

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