I have a form view with two buttons. One button accepts a change and the other button rejects a change, both functions write the result to the database then move to the next record which has not been accepted or denied.
My problem is after reviewing 10 or 15 records, i have a whole screen full of bread crumbs i don't need. What can i return in the function which will tell openERP not to create a new bread crumb?
Here is what my functions return:
return {
'name': 'act_sync_display_form_view',
'res_id': res_id[0],
'view_type': 'form',
'res_model': 'module.sync',
'view_id': view_id,
'view_mode': 'form',
'nodestroy': False,
'target': 'current',
'context': context,
'type': 'ir.actions.act_window',
}