mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-14 18:51:21 +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()
|
self.abbr = self.abbr.strip()
|
||||||
|
|
||||||
if self.get('__islocal') and len(self.abbr) > 5:
|
# if self.get('__islocal') and len(self.abbr) > 5:
|
||||||
frappe.throw(_("Abbreviation cannot have more than 5 characters"))
|
# frappe.throw(_("Abbreviation cannot have more than 5 characters"))
|
||||||
|
|
||||||
if not self.abbr.strip():
|
if not self.abbr.strip():
|
||||||
frappe.throw(_("Abbreviation is mandatory"))
|
frappe.throw(_("Abbreviation is mandatory"))
|
||||||
|
|||||||
Reference in New Issue
Block a user