| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 384 |
| Technical Name |
prevent_autosave_form |
| License | OPL-1 |
| Website | https://bitlevelcode.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 384 |
| Technical Name |
prevent_autosave_form |
| License | OPL-1 |
| Website | https://bitlevelcode.com |
Prevent Auto Save Form
Get a clear confirmation before leaving an unsaved form
In Odoo 17, a form with unsaved changes may be saved automatically when you leave it. This module brings back the classic confirmation behavior so users can decide what happens next. Enable it per user or globally, and choose which models (document types) should be protected.
Watch Demo
See how the confirmation dialog protects your data when leaving a form with unsaved changes.
Quick Overview
A small change that prevents accidental updates and gives users confidence when working on important forms.
Stops silent saves
If a form has changes, Odoo asks before it saves anything.
Simple choices
Users can choose: Save, Discard, or Cancel and keep working.
Protect only what you want
Select which models (document types) should show the confirmation dialog.
Features
Designed for daily work: clear confirmation, better control, fewer mistakes.
Save / Discard / Cancel dialog
When you leave an unsaved form, a confirmation dialog appears so the user stays in control.
Navigation protection
Works when users move away using breadcrumbs, back button, or regular menu navigation.
Refresh & close warning
Helps prevent accidental saves when users refresh the page or close the browser with unsaved changes.
Tab switch friendly
Reduces unexpected behavior when users switch tabs while editing a form.
Per-user settings
Each user can choose to enable it and select their own list of protected models.
Global fallback
Administrators can enable a global rule for users who have not chosen a personal preference.
Setup Guide
Install, enable, and choose which forms should be protected.
Install
Install the module from the Apps menu.
Enable
Enable it globally or per user (based on your company policy).
Choose models
Pick which models should show the confirmation dialog when leaving an unsaved form.
Prevent Auto Save Screenshots
Prevent Auto Save Module: Prevent dialog and settings screens in a clear, step-by-step way.
Frequently Asked Questions
Q: Can I choose which forms are protected?
Yes. You can select which models (document types) should show the confirmation dialog.
Q: Does it work for all users?
You can enable it per user. Optionally, you can also set a global fallback for users who haven’t chosen a personal preference yet.
Q: What happens if I click Save?
Your changes are saved safely, and you remain on the form so you can continue working.
Q: What happens if I click Discard?
Your unsaved changes are discarded, and navigation continues as expected.
Q: Community and Enterprise?
Yes. This module is designed for Odoo 17 and works on both Community and Enterprise.
Why Use This Module?
Better control for users, fewer accidental data updates for the business.
Avoid accidental updates
Prevent unwanted saves when someone clicks away, refreshes the page, or switches tabs while editing.
Clear and user-friendly
Users get a familiar choice: Save, Discard, or Cancel. No surprises.
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 module, choose the right models to protect, or adapt it to your workflow.
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