I am trying to customise the admin sale order grid collection.
I have created an custom sale_order attribute store_manager. These store managers are the admin users eg: 'manager1', 'manager2'.
1) Orders are manually assigned to 'manager1' or 'manager2' -- this part is done
2) Now I am trying to set filter on sale order grid collection, so when manager logged in to there system they can only see there orders.
In Magento 1 we have sales_order_grid_collection_load_before, sales_order_grid_collection_load_after for this requirement .
Is tried to such event for Magento 2 but didn't get any success.
My Queries :
Is there any such event like (sales_order_grid_collection_load_after) in magento 1 which full fill my requirement?
Is there any other way where I can set filter to sale order grid collection?
Note : I already search for this on google but didn't get any perfect solution.