Invalid Column Name on bringing v13 custom_app to v14

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

		 bootinfo.sysdefaults.allow_sales_order_creation_for_expired_quotation = cint(
		 	frappe.db.get_single_value(
		 		"Selling Settings", "allow_sales_order_creation_for_expired_quotation"
			)
		 )