mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-18 00:55:02 +00:00
test: Update test cases
This commit is contained in:
@@ -700,11 +700,11 @@ class PaymentEntry(AccountsController):
|
||||
"against_voucher": d.reference_name
|
||||
})
|
||||
|
||||
allocated_amount_in_company_currency = flt(flt(d.allocated_amount) * flt(d.exchange_rate),
|
||||
self.precision("paid_amount"))
|
||||
allocated_amount_in_company_currency = abs(flt(flt(d.allocated_amount) * flt(d.exchange_rate),
|
||||
self.precision("paid_amount")))
|
||||
|
||||
gle.update({
|
||||
dr_or_cr + "_in_account_currency": d.allocated_amount,
|
||||
dr_or_cr + "_in_account_currency": abs(d.allocated_amount),
|
||||
dr_or_cr: allocated_amount_in_company_currency
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user