Stock Entry listview not loading after Workflow


We had previously created Stock Entry and submitted.
However, now, we have introduced a new workflow for Stock Entry. And after activation of this workflow, the list of Stock Entry does not load and it gives the following error :
list.min.js:28 Uncaught TypeError: Cannot read property 'style' of undefined

We had to introduce a new field workflow_state for Workflow State. However, at the list view, I believe the previously created Stock Entries do not have this field and thus, it is not able to read property of undefined field (workflow_state) in those stock entries.
Kindly advice what is the work around to this.

Thank you.

Hi @asneha1,

Run bench migrate command and check.

Thanks, Rohit

Hi @rohit_w,

Thank you.
Bench restart has fixed it.