[minor] fixed typo

This commit is contained in:
thecarly 2015-08-10 12:50:44 +05:30
parent ee069d47b5
commit 56f5156f3c

View File

@ -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 \