mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-18 09:47:14 +00:00
refactor(test): payment will have same exch rate - no gain/loss
while making payment entry using reference to sales/purchase invoice, it herits the parent docs exchange rate. so, there will be no exchange gain/loss
This commit is contained in:
@@ -144,8 +144,7 @@ class TestPaymentRequest(unittest.TestCase):
|
||||
(d[0], d)
|
||||
for d in [
|
||||
["_Test Receivable USD - _TC", 0, 5000, si_usd.name],
|
||||
[pr.payment_account, 6290.0, 0, None],
|
||||
["_Test Exchange Gain/Loss - _TC", 0, 1290, None],
|
||||
[pr.payment_account, 5000.0, 0, None],
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user