Merge pull request #4694 from umairsy/21-jan
Updated articles
diff --git a/erpnext/setup/doctype/company/company.py b/erpnext/setup/doctype/company/company.py
index 29dee1e..01e5742 100644
--- a/erpnext/setup/doctype/company/company.py
+++ b/erpnext/setup/doctype/company/company.py
@@ -166,6 +166,9 @@
frappe.defaults.clear_cache()
+ def abbreviate(self):
+ self.abbr = ''.join([c[0].upper() for c in self.name.split()])
+
def on_trash(self):
"""
Trash accounts and cost centers for this company if no gl entry exists