fix: Update message string

This commit is contained in:
Deepesh Garg 2021-10-12 21:49:51 +05:30 committed by GitHub
parent 74c8e7bb97
commit 3b9514d6e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -506,7 +506,7 @@ class PaymentEntry(AccountsController):
def validate_received_amount(self):
if self.paid_from_account_currency == self.paid_to_account_currency:
if self.paid_amount < self.received_amount:
frappe.throw(_("Received Amount cannot be greater tha Paid Amount"))
frappe.throw(_("Received Amount cannot be greater than Paid Amount"))
def set_received_amount(self):
self.base_received_amount = self.base_paid_amount