pymysql.err.OperationalError: (1054, “Unknown column ‘gst_treatment’ in ‘field list’”) – Getting thi

pymysql.err.OperationalError: (1054, “Unknown column ‘gst_treatment’ in ‘field list’”) – Getting this error on generating sales invoice after setting up the e-invoice

The custom field “gst_treatment” may not have been created in your database after the update.

Try bench migrate.

https://frappeframework.com/docs/user/en/bench/reference/migrate