fix: Unable to import COA through importer

This commit is contained in:
Deepesh Garg
2022-12-16 19:22:29 +05:30
parent b179514273
commit 3b66920342
2 changed files with 4 additions and 3 deletions

View File

@@ -70,9 +70,6 @@ class Company(NestedSet):
self.abbr = self.abbr.strip()
# if self.get('__islocal') and len(self.abbr) > 5:
# frappe.throw(_("Abbreviation cannot have more than 5 characters"))
if not self.abbr.strip():
frappe.throw(_("Abbreviation is mandatory"))