How to give context/domain to RedirectWarning's action parameter.
action = self.env.ref('stock.stock_product_normal_action') raise RedirectWarning(error_msg, action.id, _('Go to the Archived Product'))
This lands on product page, my aim is to land on archived product list. (Active = False)
Also if possible, in the redirected list view, have to filter out particular product/products using some domain like..
'domain': [('id', 'in', some_search.ids)],