changeset 12d181c75698 in modules/account_invoice:6.2
details: 
https://hg.tryton.org/modules/account_invoice?cmd=changeset&node=12d181c75698
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
        (grafted from 4765d0e518445d9facb114fba2e6ef485ebff251)
diffstat:

 tests/scenario_invoice_split_lines.rst |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r b26312257ef8 -r 12d181c75698 tests/scenario_invoice_split_lines.rst
--- a/tests/scenario_invoice_split_lines.rst    Fri Nov 05 00:01:08 2021 +0100
+++ b/tests/scenario_invoice_split_lines.rst    Tue Feb 01 11:31:06 2022 +0100
@@ -97,8 +97,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

Reply via email to