Creating Sales Invoice brings this error Unknown Column price_not_uom_dependent

I am having the following exception thrown when I open sales Invoice screen. Please help me. Thank you.

Traceback (most recent call last):
File “/home/bereket/erpnext/frappe-bench-brisk-erp/apps/frappe/frappe/app.py”, line 61, in application
response = frappe.handler.handle()
File “/home/bereket/erpnext/frappe-bench-brisk-erp/apps/frappe/frappe/handler.py”, line 21, in handle
data = execute_cmd(cmd)
File “/home/bereket/erpnext/frappe-bench-brisk-erp/apps/frappe/frappe/handler.py”, line 56, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/bereket/erpnext/frappe-bench-brisk-erp/apps/frappe/frappe/init.py”, line 1036, in call
return fn(*args, **newargs)
File “/home/bereket/erpnext/frappe-bench-brisk-erp/apps/erpnext/erpnext/stock/get_item_details.py”, line 785, in apply_price_list
parent = get_price_list_currency_and_exchange_rate(args)
File “/home/bereket/erpnext/frappe-bench-brisk-erp/apps/erpnext/erpnext/stock/get_item_details.py”, line 855, in get_price_list_currency_and_exchange_rate
price_list_uom_dependant = get_price_list_uom_dependant(args.price_list)
File “/home/bereket/erpnext/frappe-bench-brisk-erp/apps/erpnext/erpnext/stock/get_item_details.py”, line 837, in get_price_list_uom_dependant
“enabled”: 1}, [“name”, “price_not_uom_dependent”], as_dict=True)
File “/home/bereket/erpnext/frappe-bench-brisk-erp/apps/frappe/frappe/database.py”, line 491, in get_value
order_by, cache=cache)
File “/home/bereket/erpnext/frappe-bench-brisk-erp/apps/frappe/frappe/database.py”, line 535, in get_values
out = self._get_values_from_table(fields, filters, doctype, as_dict, debug, order_by, update)
File “/home/bereket/erpnext/frappe-bench-brisk-erp/apps/frappe/frappe/database.py”, line 677, in _get_values_from_table
as_dict=as_dict, debug=debug, update=update)
File “/home/bereket/erpnext/frappe-bench-brisk-erp/apps/frappe/frappe/database.py”, line 199, in sql
self._cursor.execute(query, values)
File “/home/bereket/erpnext/frappe-bench-brisk-erp/env/lib/python3.6/site-packages/pymysql/cursors.py”, line 170, in execute
result = self._query(query)
File “/home/bereket/erpnext/frappe-bench-brisk-erp/env/lib/python3.6/site-packages/pymysql/cursors.py”, line 328, in _query
conn.query(q)
File “/home/bereket/erpnext/frappe-bench-brisk-erp/env/lib/python3.6/site-packages/pymysql/connections.py”, line 517, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File “/home/bereket/erpnext/frappe-bench-brisk-erp/env/lib/python3.6/site-packages/pymysql/connections.py”, line 732, in _read_query_result
result.read()
File “/home/bereket/erpnext/frappe-bench-brisk-erp/env/lib/python3.6/site-packages/pymysql/connections.py”, line 1075, in read
first_packet = self.connection._read_packet()
File “/home/bereket/erpnext/frappe-bench-brisk-erp/env/lib/python3.6/site-packages/pymysql/connections.py”, line 684, in _read_packet
packet.check_error()
File “/home/bereket/erpnext/frappe-bench-brisk-erp/env/lib/python3.6/site-packages/pymysql/protocol.py”, line 220, in check_error
err.raise_mysql_exception(self._data)
File “/home/bereket/erpnext/frappe-bench-brisk-erp/env/lib/python3.6/site-packages/pymysql/err.py”, line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (1054, “Unknown column ‘price_not_uom_dependent’ in ‘field list’”)

The solution

I have found the error to be on the database

On the Table - tabPrice List the column on the old version was ‘price_not_uom_dependant’ but it is changed and renamed in the new source to ‘price_not_uom_dependent’. The source code expects it to be price_not_uom_dependent. The letter ‘e’ is different on the word ‘dependant’ or ‘dependent’