When I use the export function to export records from a custom model to an excel or csv, I change a boolean field on the model and add a timestamp that the records have been exported. Now I need to refresh my tree view so the booleans and the timestamp are automatically displayed.
(FYI: I change the values by extending the export_data function of the standard Odoo model.)
After generating and downloading the exported file I the export dialog does not close out of itself.
How do I achieve that the export dialog automatically closes after a successfull export and then reloads my existing tree view?