Merge pull request #33371 from deepeshgarg007/coa_import_srbnb

fix: Unable to import COA through importer
This commit is contained in:
Deepesh Garg
2022-12-17 16:42:37 +05:30
committed by GitHub
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"))