diff --git a/addons/account_payment/test/process/draft2cancel_payment_order.yml b/addons/account_payment/test/process/draft2cancel_payment_order.yml index 4c9bbdb4283..9b544ab7ca0 100644 --- a/addons/account_payment/test/process/draft2cancel_payment_order.yml +++ b/addons/account_payment/test/process/draft2cancel_payment_order.yml @@ -10,7 +10,7 @@ !assert {model: payment.order, id: account_payment.payment_order_1}: - state == 'open' - - In order to no payment line so I perform action to change the state of payment order to "cancel" + In order to not payment line so I perform action to change the state of payment order to "cancel" - !python {model: payment.order}: | self.set_to_draft(cr, uid, [ref("account_payment.payment_order_1")]) diff --git a/addons/account_payment/test/process/draft2done_payment_order.yml b/addons/account_payment/test/process/draft2done_payment_order.yml index ec4cbe3f61b..f0b0426d7bd 100644 --- a/addons/account_payment/test/process/draft2done_payment_order.yml +++ b/addons/account_payment/test/process/draft2done_payment_order.yml @@ -1,11 +1,11 @@ - - In order to test the process of supplier invoice I enter the amount for a total of invoice + In order to test the process of supplier invoice, I enter the amount for a total of invoice - !python {model: account.invoice}: | self.write(cr, uid, [ref('account.demo_invoice_0')], {'check_total': 14}) - - In order to test account move line of journal I check that there is no move attached to the invoice at draft + In order to test account move line of journal, I check that there is no move attached to the invoice at draft - !python {model: account.invoice}: | invoice = self.browse(cr, uid, ref("account.demo_invoice_0")) @@ -29,9 +29,7 @@ duedate: !eval time.strftime('%Y-%m-%d') - - I perform a action to search the entries for create a order -- - Performing an osv_memory action search_entries on module payment.order.create + I perform a action to search the entries for create a payment line - !python {model: payment.order.create}: | self.search_entries(cr, uid, [ref("payment_order_create_0")], {"lang": "en_US", @@ -39,7 +37,7 @@ "tz": False, "active_id": ref("account_payment.payment_order_1"), }) - - In order to make entries in payment line I create a entries + In order to make entries in payment line, I create a entries - !python {model: payment.order.create}: | invoice = self.pool.get('account.invoice').browse(cr, uid, ref("account.demo_invoice_0")) diff --git a/addons/account_payment/test/process/draft2valid_bank_statement.yml b/addons/account_payment/test/process/draft2valid_bank_statement.yml index dc2470cf6f8..710a63a1540 100644 --- a/addons/account_payment/test/process/draft2valid_bank_statement.yml +++ b/addons/account_payment/test/process/draft2valid_bank_statement.yml @@ -12,7 +12,7 @@ period_id: account.period_10 - - In order to make entries in bank statement line I import payment order lines + In order to make entries in bank statement line, I import payment order lines - !python {model: account.payment.populate.statement}: | payment = self.pool.get('payment.order').browse(cr, uid, ref("account_payment.payment_order_1"))