fix: Always fetch exchange rate from ref document
This commit is contained in:
parent
0af45b41d7
commit
3191d072f0
@ -161,7 +161,7 @@ class PaymentEntry(AccountsController):
|
||||
d.reference_name, self.party_account_currency)
|
||||
|
||||
for field, value in iteritems(ref_details):
|
||||
if not d.get(field) or force:
|
||||
if field == 'exchange_rate' or not d.get(field) or force:
|
||||
d.set(field, value)
|
||||
|
||||
def validate_payment_type(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user