From 0172466734e58645aa2d7ebd77d7c0de190cc838 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 18 Sep 2014 19:07:56 +0200 Subject: [PATCH] Remove ask for payment term in create purchase wizard issue4176 --- .../scenario_account_stock_anglo_saxon_with_drop_shipment.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/scenario_account_stock_anglo_saxon_with_drop_shipment.rst b/tests/scenario_account_stock_anglo_saxon_with_drop_shipment.rst index 577968237c..88f2f51b59 100644 --- a/tests/scenario_account_stock_anglo_saxon_with_drop_shipment.rst +++ b/tests/scenario_account_stock_anglo_saxon_with_drop_shipment.rst @@ -257,9 +257,8 @@ Create Purchase from Request:: >>> purchase_request, = PurchaseRequest.find() >>> create_purchase = Wizard('purchase.request.create_purchase', ... [purchase_request]) - >>> create_purchase.form.payment_term = payment_term - >>> create_purchase.execute('start') >>> purchase, = Purchase.find() + >>> purchase.payment_term = payment_term >>> purchase_line, = purchase.lines >>> purchase_line.unit_price = Decimal('3') >>> purchase.click('quote')