Prevent Auto save
15 Days Free Trial
Configure prevent auto save for the user: open Settings → Users & Companies → Users, tab "Prevent Auto Save", tick the option and select the models. It works for every user (internal users do not need administrator rights); the user has to reload the page once after a change of this configuration.
When the user modifies a record of a configured model and tries to leave it (breadcrumb, menu, pager or New), a confirmation popup is shown and the changes are not saved automatically. Switching to another browser tab does not save the record either, and closing or reloading the browser tab shows the browser's own "Leave site?" warning.
Smart buttons and action buttons of the form ask the same question before running: Ok discards the changes and continues, Cancel keeps you on the record.
After Cancel the changes are still there: save them yourself with the Save (cloud) button or discard them with the Discard (x) button. Models that are not selected keep the standard auto save of Odoo.
Does it work for users who are not administrators?
Yes. Only the configuration on the user form needs the Administration / Settings rights; the confirmation popup works for every internal user it is configured for.
I changed the configuration but nothing happens. Why?
The configuration is loaded when the Odoo page opens. Ask the user to reload the browser page (F5) after the configuration is changed.
Are the Save and Discard buttons still available?
Yes. The user can still save the record with the Save (cloud) button, or discard the changes, as usual. Only the automatic save when leaving the record is replaced by the confirmation popup.
Is this app compatible with Odoo Enterprise as well as Community?
Yes, this app works well with Odoo Enterprise as well as Odoo Community.
I need customization in this app. How can I request it?
You can contact us for customization in this app or you can write to us at support@caretit.com.
Where I can get the Odoo Support?
Odoo support and maintenance service is a key service offered by Caret IT. You will
get rapid support by
Caret IT.
email :
support@caretit.com or drop query on
https://www.caretit.com/contactus.
We provide 60 days free support with standard Odoo version.
Support is applicable remotely and
from the date of purchase.
We are responsible to be online and answer you between 10:00 AM to 6:00 PM IST.
Caret IT will be there to ensure your success.
NOTE
Caret IT offers complimentary support during the trial period,
and
standard and premium support packages after you buy.
Odoo Implementation
Odoo Version Migration
Odoo Support & AMC Services
Odoo Customization
ERP Consulting
Hire Odoo Developer
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 177 |
| Technical Name |
cit_prevent_auto_save |
| License | OPL-1 |
| Website | https://www.caretit.com |
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