Merge pull request #24067 from frappe/michellealva-patch-1

fix: Change validation message
This commit is contained in:
Deepesh Garg 2020-12-06 17:13:19 +05:30 committed by GitHub
commit 44276b4650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ class StockSettings(Document):
""")
if sle:
frappe.throw(_("Can't change valuation method, as there are transactions against some items which does not have it's own valuation method"))
frappe.throw(_("Can't change the valuation method, as there are transactions against some items which do not have its own valuation method"))
def validate_clean_description_html(self):
if int(self.clean_description_html or 0) \