Skip to content

Commit

Permalink
[modules/account_payment_clearing] account_payment_clearing: Update t…
Browse files Browse the repository at this point in the history
…ests to Tryton 6.4 (#6)

Fix #00000
  • Loading branch information
JCavallo authored and nicoe committed Jul 7, 2023
1 parent 9d42869 commit e56c55a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ Create and pay an invoice without clearing::

>>> Payment = Model.get('account.payment')
>>> payment, = Payment.find()
>>> payment.click('approve')
>>> payment.click('submit')
>>> payment.state
'approved'
'submitted'
>>> process_payment = Wizard('account.payment.process', [payment])
>>> process_payment.execute('process')
>>> payment.reload()
Expand Down Expand Up @@ -131,9 +131,9 @@ Create an invoice and pay it::
>>> pay_line.execute('next_')

>>> payment, = Payment.find([('state', '=', 'draft')])
>>> payment.click('approve')
>>> payment.click('submit')
>>> payment.state
'approved'
'submitted'
>>> process_payment = Wizard('account.payment.process', [payment])
>>> process_payment.execute('process')
>>> payment.reload()
Expand Down
2 changes: 1 addition & 1 deletion modules/account_payment_clearing/tests/test_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class AccountPaymentTestCase(ModuleTestCase):
'Test Account Payment module'
module = 'account_payment_clearing'
extras = ['account_statement', 'account_statement_rule']
extras = ['account_statement']


del ModuleTestCase

0 comments on commit e56c55a

Please sign in to comment.