Base Temporary Action
by ACSONE SA/NV https://github.com/OCA/server-tools , Odoo Community Association (OCA) https://github.com/OCA/server-tools| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 17 |
| Technical Name |
base_temporary_action |
| License | LGPL-3 |
| Website | https://github.com/OCA/server-tools |
Base Temporary Action

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’.
Table of contents
Use Cases / Context
We wanted to be able to open a new quotation form (without creating it in the database) with default values coming from an external system using a GET route and redirect.
We couldn’t find a way to pass our values to a new quotation form using Odoo standard. That’s why we created this module: it allows us to create a temporary action that we delete after it is used. On this action, we add context that allows us to get the default values on the new quotation.
Usage
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).
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- ACSONE SA/NV
Contributors
- Benoit Aimont benoit.aimont@acsone.eu (https://acsone.eu)
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/server-tools project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Please log in to comment on this module