Error on images item view

I’m getting this error when selecting “images” view from item list.
Any ideas where in the database can i fix this?

pymysql.err.InternalError: (1054, "Unknown column 'tabItem.' in 'field list'")

ERPNext: v12.9.4 (version-12)
Frappe Framework: v12.6.2 (version-12)


It may help to say what version ERPNext you are using and if this started happening after an update or other change.

Not sure when it happened, but I first noticed in version 12.3. After update to latest version it is still throwing error.

I found that in fields list there is missing “item_name”. After applying that change in browser console, images are shown in list. But that is only a temporary solution until you refresh the browser.

Anyone knows of a more permanent solution or at least where can I look to fix this issue…

It seems that some extra fields in tabPropertysetter, probably left from older version of custom app were causing trouble. After removing them, it works as it should.