OdooWiki OCA HUB

Force Record No-update

base_force_record_noupdate folder_open OCA/server-tools open_in_new
Hidden License: AGPL-3

This module adds a boolean field on models form view, allowing to force noupdate=True to data linked to those models.

Upon setting the field to True on a given model, noupdate=True will be set upon existing data linked to it. When creating new data linked to that model, they will always have noupdate=True (unless the field is reset on the model itself).

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds a "Force No-Update" checkbox on models so that existing and future records linked to those models are protected from being overwritten by module updates.

This module adds a single checkbox, "Force No-Update", on the model configuration screen (the form used to view and edit models in Odoo). It is placed right after the "Transient" field.

When you tick this checkbox on a model, Odoo immediately marks all existing data records linked to that model as protected (no-update), so a later module upgrade will not overwrite them. From then on, any new data record created for that model is automatically created as protected too, unless you untick the checkbox on the model.

A server action named "Toggle Force Noupdate" is also provided; it flips the checkbox on the selected models, turning protected models back to normal and normal models to protected in one go.

The module works on the model registry (ir.model) and the data records registry (ir.model.data). It does not add menus of its own; the checkbox appears inside the existing model form. It also clears Odoo's internal cache whenever the checkbox changes or a model is created or deleted, so the protection setting takes effect immediately.

Depends on

base
Models and fields (2)
  • ir.model · extends an existing modelforce_noupdate (Force No-Update)
  • ir.model.data · extends an existing model

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: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 17.0

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

terminal Installation and usage

OCA documentation · Odoo 18.0

To use this module, you need to open the models' form view and check field "Force No-Update"

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.