minor fix
diff --git a/erpnext/controllers/accounts_controller.py b/erpnext/controllers/accounts_controller.py
index 122e66d..f6f9e4d 100644
--- a/erpnext/controllers/accounts_controller.py
+++ b/erpnext/controllers/accounts_controller.py
@@ -605,9 +605,8 @@
@property
def company_abbr(self):
- self._abbr = None
- if not hasattr(self, "_abbr") and self.company:
- self._abbr = frappe.get_cached_value('Company', self.company, "abbr")
+ if not hasattr(self, "_abbr"):
+ self._abbr = frappe.db.get_value('Company', self.company, "abbr")
return self._abbr