mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-14 17:33:09 +00:00
test: resolve failed testcases for exchage rate
(cherry picked from commit 3b5a203d61)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user