Merge branch 'version-14' into version-14-hotfix

This commit is contained in:
Deepesh Garg
2023-07-11 16:14:57 +05:30
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ import inspect
import frappe
__version__ = "14.27.8"
__version__ = "14.29.2"
def get_default_company(user=None):

View File

@@ -196,6 +196,7 @@ class PaymentEntry(AccountsController):
elif latest.outstanding_amount < latest.invoice_amount and flt(
d.outstanding_amount, d.precision("outstanding_amount")
) != flt(latest.outstanding_amount, d.precision("outstanding_amount")):
frappe.throw(
_(
"{0} {1} has already been partly paid. Please use the 'Get Outstanding Invoice' or the 'Get Outstanding Orders' button to get the latest outstanding amounts."