Invalid Column Name on bringing v13 custom_app to v14

I have an custom app that was developed on v13 and is working fine there.
I wanted to bring that one to V14 i resolved all the issues that occurred during installation. After the installation I have this issue

Traceback (most recent call last):
  File "apps/frappe/frappe/www/", line 28, in get_context
    boot = frappe.sessions.get()
  File "apps/frappe/frappe/", line 166, in get
    bootinfo = get_bootinfo()
  File "apps/frappe/frappe/", line 83, in get_bootinfo
  File "apps/erpnext/erpnext/startup/", line 33, in boot_session
  File "apps/frappe/frappe/database/", line 779, in get_single_value
  File "apps/frappe/frappe/", line 525, in throw
  File "apps/frappe/frappe/", line 493, in msgprint
  File "apps/frappe/frappe/", line 442, in _raise_exception
    raise raise_exception(msg)
frappe.database.database.Database.InvalidColumnName: Invalid field name: <strong>allow_sales_order_creation_for_expired_quotation</strong>

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "apps/frappe/frappe/website/", line 18, in get_response
    response = renderer_instance.render()
  File "apps/frappe/frappe/website/page_renderers/", line 84, in render
    html = self.get_html()
  File "apps/frappe/frappe/website/", line 510, in cache_html_decorator
    html = func(*args, **kwargs)
  File "apps/frappe/frappe/website/page_renderers/", line 95, in get_html
  File "apps/frappe/frappe/website/page_renderers/", line 163, in update_context
    data = self.run_pymodule_method("get_context")
  File "apps/frappe/frappe/website/page_renderers/", line 225, in run_pymodule_method
    return method(self.context)
  File "apps/frappe/frappe/www/", line 30, in get_context
    raise frappe.SessionBootFailed from e

Have tried multiple solutions like
bench setup requirements
bench update --patch
bench migrate --skip-failing

try this

bench --site yoursite set-config developer_mode 1
bench --site yoursite migrate

did, still same issue

I had to comment these lines in to make it work, is there a patch that would help me?

		 bootinfo.sysdefaults.allow_sales_order_creation_for_expired_quotation = cint(
		 		"Selling Settings", "allow_sales_order_creation_for_expired_quotation"

yes I opened this bug