OdooWiki OCA HUB

Base Temporary Action

base_temporary_action folder_open OCA/server-tools open_in_new
Uncategorised License: LGPL-3

This module is a technical module that does nothing by itself.

This addon allows to create temporary actions that will be removed automatically after one hour (default transient age limit). Temporary actions are identified by a field 'is_temporary'.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

This technical module adds a flag to mark actions as temporary and automatically deletes them one hour after creation. It does not add any visible screen or menu by itself.

This is a technical module with no user interface of its own. It extends the general actions model ir.actions.actions with a new checkbox field called is_temporary. When that box is ticked on an action, the action is considered temporary.

A scheduled cleanup runs automatically in the background. It looks for all actions marked as temporary whose creation date is older than the transient age limit (one hour by default) and deletes them permanently. This keeps the database free of short-lived actions that other modules create on the fly.

  • New field on actions: is_temporary (yes/no).
  • Automatic rule: temporary actions older than the transient limit are removed.
  • No menus, buttons, reports or emails are added.

Because it only changes the shared actions model, it can affect any action type that inherits from ir.actions.actions, but the module itself does not create or modify any specific action. Its purpose is to give other modules a standard way to declare throwaway actions and have Odoo clean them up automatically.

Depends on

base
Models and fields (1)
  • ir.actions.actions · extends an existing modelis_temporary

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/server-tools.

terminal Installation and usage

OCA documentation · Odoo 18.0

To use this module, you need to:

  • Create an action, either by code or in the user interface and set its field is_temporary to True.
  • You have one hour to use your action (default transient age limit).

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.