From d359b27e55bdacdb6d9b793abd4dacf5f99f0d43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 27 Sep 2016 14:08:00 +0200 Subject: [PATCH] Fix invoice scenario for new payment wizard state --- tests/scenario_account_payment_invoice.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scenario_account_payment_invoice.rst b/tests/scenario_account_payment_invoice.rst index 2b6f4ffc48..66d564d05c 100644 --- a/tests/scenario_account_payment_invoice.rst +++ b/tests/scenario_account_payment_invoice.rst @@ -75,7 +75,7 @@ Partially pay line:: >>> Payment = Model.get('account.payment') >>> pay_line = Wizard('account.move.line.pay', [line_to_pay]) >>> pay_line.form.journal = payment_journal - >>> pay_line.execute('pay') + >>> pay_line.execute('start') >>> payment, = Payment.find() >>> payment.amount = Decimal('20') >>> payment.click('approve')