How to clear or redefine breadcrumbs?
I was browsing into stock module and I found that, when we open a product info in form view and then whe go to Reporting>Inventory valuation, the breadcrumb has still the link to the product, I think that may confuse.
The point is, how to clear the breadcrumb and show only "Inventory valuation"?
I've tried setting clear_breadcrumbs or clear_breadcrumb field to True and setting target field to main in my custom module but nope.
I'm trying with this:
<record id="action_stock_inventory_valuation" model="ir.actions.act_window">
<field name="inherit_id" ref="stock_account.action_stock_inventory_valuation"></field>
<field name="name">Valuation Report</field>