changeset 4765d0e51844 in modules/account_invoice:default
details:
https://hg.tryton.org/modules/account_invoice?cmd=changeset&node=4765d0e51844
description:
Do not test pay amount but set it in reschedule scenario
The amount computed by the pay wizard vary depending on the month it is
run.
If it is run from 31st January to 29th February, the amount to pay
today is 5.
issue11199
diffstat:
tests/scenario_invoice_reschedule_lines.rst | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (13 lines):
diff -r 4046e2f15711 -r 4765d0e51844 tests/scenario_invoice_reschedule_lines.rst
--- a/tests/scenario_invoice_reschedule_lines.rst Sun Jan 30 20:17:47
2022 +0100
+++ b/tests/scenario_invoice_reschedule_lines.rst Tue Feb 01 11:31:06
2022 +0100
@@ -98,8 +98,7 @@
Pay the invoice::
>>> pay = Wizard('account.invoice.pay', [invoice])
- >>> pay.form.amount
- Decimal('10.00')
+ >>> pay.form.amount = Decimal('10.00')
>>> pay.form.payment_method = payment_method
>>> pay.execute('choice')
>>> pay.state