fix: Unable to import COA through importer

(cherry picked from commit 3b66920342)
This commit is contained in:
Deepesh Garg
2022-12-16 19:22:29 +05:30
committed by Mergify
parent 6c63965b1f
commit f8c09ee720
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"))