test: resolve failed testcases for exchage rate

(cherry picked from commit 3b5a203d61)
This commit is contained in:
ervishnucs
2026-04-05 22:21:41 +05:30
committed by Mergify
parent 72c7b79933
commit df823432d1
3 changed files with 18 additions and 2 deletions

View File

@@ -89,6 +89,8 @@ class TestUtils(unittest.TestCase):
purchase_invoice.submit()
payment_entry = get_payment_entry(purchase_invoice.doctype, purchase_invoice.name)
payment_entry.target_exchange_rate = 82.32
payment_entry.set_amounts()
payment_entry.paid_amount = 15725
payment_entry.deductions = []
payment_entry.save()