Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Refreshing the view causes duplicate breadcrumbs?

By
Travis Waelbroeck
on 7/29/16, 7:13 PM 283 views

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?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 7/29/16, 7:13 PM
Seen: 283 times
Last updated: 7/29/16, 10:12 PM