diff --git a/erpnext/controllers/accounts_controller.py b/erpnext/controllers/accounts_controller.py index 122e66db87a..f6f9e4d74d1 100644 --- a/erpnext/controllers/accounts_controller.py +++ b/erpnext/controllers/accounts_controller.py @@ -605,9 +605,8 @@ class AccountsController(TransactionBase): @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