Error while converting Delivery Note to Sales Invoice

Hello All,

I am running ERPNext: v12.23.0 (version-12), Frappe Framework: v12.20.0 (version-12)

When I am trying to convert a delivery note to an invoice I am getting the following error massage:

pymysql.err.InternalError: (1054, “Unknown column ‘dn_item.dn_detail’ in ‘field list’”)

Any lead on how to solve it?

Thank you,

Haim Lewy