mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 13:39:18 +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
(cherry picked from commit ee2d1fa36e)
This commit is contained in:
@@ -144,8 +144,7 @@ class TestPaymentRequest(unittest.TestCase):
|
|||||||
(d[0], d)
|
(d[0], d)
|
||||||
for d in [
|
for d in [
|
||||||
["_Test Receivable USD - _TC", 0, 5000, si_usd.name],
|
["_Test Receivable USD - _TC", 0, 5000, si_usd.name],
|
||||||
[pr.payment_account, 6290.0, 0, None],
|
[pr.payment_account, 5000.0, 0, None],
|
||||||
["_Test Exchange Gain/Loss - _TC", 0, 1290, None],
|
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user