Skip to content

Commit

Permalink
issue #155 correcciones de amounts en test funcional en WSFEX
Browse files Browse the repository at this point in the history
Se había copiado del test de WSFE que lleva alícuota 21%.
En este caso, no lleva alícuota ya que la condición es
*No Alcanzado*. Los del comprobante son distintos.
  • Loading branch information
lukio committed Sep 26, 2019
1 parent a75e255 commit b502c9c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/scenario_invoice_pos_electronic_wsfex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -392,21 +392,21 @@ Pay invoice::
>>> pay = Wizard('account.invoice.pay', [invoice])
>>> pay.form.amount
Decimal('220.00')
>>> pay.form.amount = Decimal('131.00')
>>> pay.form.amount = Decimal('110.00')
>>> pay.form.payment_method = payment_method
>>> pay.execute('choice')
>>> pay.state
'end'

>>> pay = Wizard('account.invoice.pay', [invoice])
>>> pay.form.amount
Decimal('131.00')
>>> pay.form.amount = Decimal('31.00')
Decimal('110.00')
>>> pay.form.amount = Decimal('10.00')
>>> pay.form.payment_method = payment_method
>>> pay.execute('choice')
>>> pay.form.type = 'partial'
>>> pay.form.amount
Decimal('31.00')
Decimal('10.00')
>>> len(pay.form.lines_to_pay)
1
>>> len(pay.form.payment_lines)
Expand All @@ -419,7 +419,7 @@ Pay invoice::

>>> pay = Wizard('account.invoice.pay', [invoice])
>>> pay.form.amount
Decimal('-31.00')
Decimal('-10.00')
>>> pay.form.amount = Decimal('99.00')
>>> pay.form.payment_method = payment_method
>>> pay.execute('choice')
Expand Down

0 comments on commit b502c9c

Please sign in to comment.