[cost center] [default value] default cost center for each company, auto set default cost center for various transactions during creation
diff --git a/startup/boot.py b/startup/boot.py
index 4774a90..9ed20ff 100644
--- a/startup/boot.py
+++ b/startup/boot.py
@@ -36,7 +36,8 @@
for key in ['max_users', 'expires_on', 'max_space', 'status', 'developer_mode']:
if hasattr(conf, key): bootinfo[key] = getattr(conf, key)
- bootinfo['docs'] += webnotes.conn.sql("select name, default_currency from `tabCompany`",
+ bootinfo['docs'] += webnotes.conn.sql("""select name, default_currency, cost_center,
+ cost_center as 'cost_center_other_charges' from `tabCompany`""",
as_dict=1, update={"doctype":":Company"})
def get_letter_heads():