I open an action window from python. The breadcrumb seems fine when I run the action.
The problem raises when I refresh the page, the upstream route is disappeared form the breadcrumb, and the page only shows the current page name that I've set in python.
Here is my code
def open_invoice(self):
self.ensure_one()
return {
'name': 'Customer Invoice',
'type': 'ir.actions.act_window',
'view_mode': 'list,form',
'res_model': 'invoice_module.invoice',
}
This is normal in Odoo.