Adding custom column to order list is causing an error. But same code works in products list.
I can't seem to add a custom column using configuration and class that word on the product listing. Any of you experience this issue? The column I want to add is just basically checking if order id exists on another table, if it does, then output "Yes", else "No". Thats it.
Call to undefined method Magento\Framework\View\Element\UiComponent\DataProvider\DataProvider::addField()
I am pretty sure the code below works because its the same code I used to add column to the products listing page in admin: