I'm upgrading a module from odoo v10 to odoo v11. It is founded that the get_action is replaced with report_action.
so I used the code as follows
self.env.ref('report_action_name').report_action(self, data=data, config=False)
but it gives me error AttributeError: 'ir.ui.view' object has no attribute 'report_action' Thanks in advance