[minor] fixed typo
This commit is contained in:
parent
ee069d47b5
commit
56f5156f3c
@ -32,7 +32,7 @@ class Company(Document):
|
|||||||
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(_("Abbr can not be blank or space"))
|
frappe.throw(_("Abbreviation is mandatory"))
|
||||||
|
|
||||||
self.previous_default_currency = frappe.db.get_value("Company", self.name, "default_currency")
|
self.previous_default_currency = frappe.db.get_value("Company", self.name, "default_currency")
|
||||||
if self.default_currency and self.previous_default_currency and \
|
if self.default_currency and self.previous_default_currency and \
|
||||||
|
Loading…
Reference in New Issue
Block a user