OdooWiki OCA HUB

Close Wizard Refresh View

web_ir_actions_close_wizard_refresh_view folder_open OCA/web open_in_new
Web License: AGPL-3

Let reload the data in a view, while closing a wizard, without reloading the page.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds a new action type that closes a wizard and refreshes the underlying view without reloading the whole page, so users see updated data immediately after saving in a popup.

This module introduces a new action type called ir.actions.close_wizard_refresh_view. It is designed to be used as the action triggered when a wizard (a popup dialog) is closed, for example after a user clicks a button in the wizard.

When this action runs, Odoo closes the wizard window and then re-executes the action that originally opened the wizard. This causes the view behind the wizard to reload its data, so any changes made in the wizard are reflected immediately, without a full page refresh.

The module adds no new menus or screens. It only adds the new action type and the JavaScript handler that implements the behaviour. The action type is available for developers to use in button actions or automated actions. It extends the standard 'Close' action (ir.actions.act_window_close) and stores its data in the same table.

Access rights are granted to all internal users (base.group_user), so any user can trigger this action if it is configured. The module depends only on the core web module and does not modify any other business models.

Depends on

web
Models and fields (1)
  • ir.actions.close_wizard_refresh_view · new modeltype

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 16.0

Return an action literal with the following type: 'ir.actions.close_wizard_refresh_view'.

For example:

def method_called_by_wizard(self):

  ..
  ..

  return {
      'type': 'ir.actions.close_wizard_refresh_view'
  }

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.