mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-18 00:55:02 +00:00
Minor fixes
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -45,8 +45,8 @@ 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 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