| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 195 |
| Technical Name |
blc_auto_save_form_view |
| License | OPL-1 |
| Website | https://bitlevelcode.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 195 |
| Technical Name |
blc_auto_save_form_view |
| License | OPL-1 |
| Website | https://bitlevelcode.com |
Auto Save Form View
Automatically save Odoo form views in the background to avoid losing user input
This module adds an automatic, silent save mechanism to Odoo 17 form views. Unsaved changes are periodically written to the database based on a configurable timer (default 30 seconds), reducing the risk of data loss caused by browser crashes, network issues, or power failures.
Watch Auto Save in Action
See how the form is silently saved every few seconds while users continue editing, keeping records up to date without interrupting their workflow.
Click to Play Demo
Watch how unsaved changes are automatically stored using the configured auto-save timer.
Quick Overview
A lightweight backend enhancement that periodically saves dirty form views to the database. The module is configurable and respects your business rules about when and what should be saved automatically.
Protects against data loss
If a form has unsaved changes, the module saves it automatically at a defined interval, reducing the impact of unexpected browser or network issues.
Configurable timer
Control the auto-save interval using the auto_save_timer_key system parameter
(in seconds, default: 30). A safe minimum of 5 seconds is enforced.
Flexible behavior
Decide whether to auto-save new records and whether to save only draft records
or any state. If a model has no state field, it is always eligible.
Features
Designed to silently protect user work while staying compliant with Odoo 17 UX patterns. No popups, no extra clicks – just safe, periodic saves in the background.
Background auto-save on form view
Automatically saves dirty form views using the configured timer while the user continues editing the same record.
Control saving of new records
Use the Auto Save New Form option to decide if brand-new records should be saved automatically. A helpful warning explains that this may affect sequences.
State-aware saving
With Auto Save With Any State disabled, only draft records are saved. Enable it to auto-save records in any state when appropriate.
Smart handling of models without state
If a model does not have a state field, the record is always
eligible for auto-save, keeping the behavior predictable across models.
Simple configuration
Configure auto-save options from Settings → General Settings and fine-tune the timer via Technical → System Parameters without custom code.
Odoo 17 ready
Built on Odoo 17 services and form controller APIs so it integrates cleanly with the standard web client behavior.
Setup Guide
Install the module, enable the options that match your business rules, and (optionally) adjust the auto-save interval using a system parameter.
Install
Install the module from the Apps menu.
Configure options
Open Settings → General Settings and locate the Auto Save Form View block. Choose how auto-save should behave.
Adjust timer (optional)
If needed, change the auto-save interval using a system parameter so it matches your performance and safety expectations.
auto_save_timer_keyAuto Save Form View Screenshots
A visual overview of the auto-save behavior and configuration screens inside Odoo 17.
Frequently Asked Questions
Q: How often does the form auto-save?
By default, the form auto-saves every 30 seconds. You can change this by updating
the auto_save_timer_key system parameter in seconds. The module enforces
a minimum value of 5 seconds.
Q: Will new records be saved automatically?
This is controlled by the Auto Save New Form option. If enabled, brand-new records will also be auto-saved. A note in the settings reminds you that this may affect sequence numbers.
Q: How does state-based saving work?
When Auto Save With Any State is disabled, only records with a
state field set to draft are auto-saved. If the option is enabled,
records can be auto-saved regardless of their state value.
Q: What if my model does not have a state field?
If there is no state field on the model, the record is treated as
always eligible for auto-save. The module does not try to infer state from other fields
such as stage_id.
Q: Is it compatible with Community and Enterprise?
Yes. The module is designed for Odoo 17 and works with both Community and Enterprise editions, as long as the standard web client is used.
Why Use This Module?
Give users peace of mind when working with long or complex forms, and reduce the operational risk of losing important input.
Avoid losing important work
When users spend time filling in forms and something unexpected happens, the auto-save mechanism makes sure most of their work is already stored.
Transparent for end users
The module works silently in the background. Users continue to work as usual while the system takes care of saving their progress.
Our Apps
Explore more productivity apps. Want a specific feature? Contact us for a quick recommendation.
Need Help or Customization?
We can help you configure the auto-save behavior, choose the right timer value, or adapt the module to your specific Odoo workflows.
Contact
Write to us and we will respond as soon as possible.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module