This question has been flagged

I am using a button on the sales order which makes a change and refreshes the form view. The functionality works exactly how I want except it adds an identical breadcrumb each time.


I end up with something like this:

 


The button I'm using returns the following code:

return {

'name':_("Quotes"),

'type': 'ir.actions.act_window',

'res_model': 'sale.order',

'res_id': order.id,

'view_mode': 'form',

'view_type': 'form',

'view_id': False,

'nodestroy': True,

'domain': '[]'

}


How can I prevent this from adding a new breadcrumb each time?

Avatar
Discard
Best Answer

Hello,

I have the same problem. Do found a solution about that?

Avatar
Discard
Author

No, I haven't tried to solve this again since then. You should have made a comment on the original question, because now it will appear that this question has been answered when it hasn't.