I want to reload a page in odoo on a click of a button. I tried this:
object_name.refresh()
return {'tag': 'reload'}
but it's not working.
How can I get it?
add 'type': 'ir.actions.client' in your return like:
return {
'type': 'ir.actions.client',
'tag': 'reload',
}