Error while making an opening entry

Trying to post an opening entry

Traceback (most recent call last):
File “/home/frappe/benches/bench-2017-07-01/apps/frappe/frappe/app.py”, line 56, in application
response = frappe.handler.handle()
File “/home/frappe/benches/bench-2017-07-01/apps/frappe/frappe/handler.py”, line 21, in handle
data = execute_cmd(cmd)
File “/home/frappe/benches/bench-2017-07-01/apps/frappe/frappe/handler.py”, line 52, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/frappe/benches/bench-2017-07-01/apps/frappe/frappe/init.py”, line 914, in call
return fn(*args, **newargs)
File “/home/frappe/benches/bench-2017-07-01/apps/erpnext/erpnext/accounts/doctype/journal_entry/journal_entry.py”, line 740, in get_opening_accounts
order by name asc""", company)
File “/home/frappe/benches/bench-2017-07-01/apps/frappe/frappe/database.py”, line 210, in sql_list
return [r[0] for r in self.sql(query, values, debug=debug)]
File “/home/frappe/benches/bench-2017-07-01/apps/frappe/frappe/database.py”, line 142, in sql
self._cursor.execute(query, values)
File “/home/frappe/benches/bench-2017-07-01/env/lib/python2.7/site-packages/MySQLdb/cursors.py”, line 250, in execute
self.errorhandler(self, exc, value)
File “/home/frappe/benches/bench-2017-07-01/env/lib/python2.7/site-packages/MySQLdb/connections.py”, line 50, in defaulterrorhandler
raise errorvalue
OperationalError: (1054, “Unknown column ‘warehouse’ in ‘where clause’”)

What is the version you are using at the moment?

@rmehta I found this issue on newly installed erpnext on a digital ocean droplet. Also same issue is happening on lifeplus.erpnext.com

can you post this on GitHub ?

Hi @atif_siddiqui

Thanks for reporting an issue, we have identified and fixed the issue.
Soon we’ll release the fix of the issue.