Hello everybody.
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="res_model">stock.quantity.history</field>
<field name="name">Valuation Report</field>
<field name="clear_breadcrumbs">True</field>
</record>
hope this will helps: https://learnopenerp.blogspot.com/2020/08/hide-breadcrumb-in-odoo.html