Hey,
In my custom Odoo module I want to create and delete records from a Menu-Button. This works fine, however the related tree-view does not reload. I tried adding the following code at the end of my function without effect:
return {
'type': 'ir.actions.client',
'tag': 'reload',
}
Is there a way to successfully reload my current tree view after clicking a button which executes a function to create a bunch of records? I am using create() to create the records, another button deletes all records of my TransientModel with unlink().