[sales taxes and charges] renamed field cost_center_other_charges to cost_center

This commit is contained in:
Anand Doshi
2013-04-19 16:21:55 +05:30
parent 90dad5c5b5
commit aeef7bd910
7 changed files with 22 additions and 13 deletions

View File

@@ -36,9 +36,8 @@ def boot_session(bootinfo):
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, cost_center,
cost_center as 'cost_center_other_charges' from `tabCompany`""",
as_dict=1, update={"doctype":":Company"})
bootinfo['docs'] += webnotes.conn.sql("""select name, default_currency, cost_center
from `tabCompany`""", as_dict=1, update={"doctype":":Company"})
def get_letter_heads():
"""load letter heads with startup"""