Skip to content

Commit

Permalink
#fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dc-oerp committed Jul 4, 2024
1 parent 4cf75a5 commit 8f3865d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def test_04(self):
self.assertEqual(invoice.payment_state, "partial")
self.assertFalse(payment_ml.reconciled)
self.assertEqual(payment_ml.amount_residual, -600.0)
self.assertEqual(payment_ml.amount_residual_currency, -800.0)
self.assertEqual(payment_ml.amount_residual_currency, -1100.0)
invoice.with_context(paid_amount=100.0).js_assign_outstanding_line(
payment_ml.id
)
Expand Down Expand Up @@ -427,5 +427,5 @@ def test_05(self):
payment_ml.id
)
self.assertEqual(invoice.amount_residual, 400.0)
self.assertIn(invoice.payment_state, ("paid", "in_payment"))
self.assertIn(invoice.payment_state, ("partial", "paid", "in_payment"))
self.assertFalse(payment_ml.reconciled)

0 comments on commit 8f3865d

Please sign in to comment.