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:
parent
389cadf157
commit
ee2d1fa36e
@ -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],
|
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user