Merge pull request #33371 from deepeshgarg007/coa_import_srbnb
fix: Unable to import COA through importer
This commit is contained in:
@@ -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"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user