Record In Edit Mode Validation: Prevent Simultaneous Editing Conflicts in Odoo

Watch Video  ​Buy Now


Why simultaneous record editing is a silent data risk in Odoo

In any Odoo environment where multiple users are active at the same time, there is a problem that rarely gets talked about until something goes wrong: two users opening and editing the same record simultaneously. One user is mid-way through updating a purchase order. Another user, unaware, opens the same record, makes different changes, and saves. The first user's changes are overwritten. No error is raised. No warning was given. The data conflict happened silently, and depending on the record, the consequences a wrong quantity on an order, an incorrect price on an invoice, a changed vendor may not be discovered until the damage is already done.

Odoo does not natively prevent this. Records can be opened in edit mode by multiple users at the same time with no system-level awareness of the conflict. The Record In Edit Mode Validation module by Creyox adds exactly this awareness. It monitors active edit sessions model by model, and the moment a second user tries to edit a record that is already being edited by someone else, it raises a clear validation alert giving that user the information they need to make a deliberate decision rather than proceeding blindly.


Overview

The Record In Edit Mode Validation module extends Odoo 18.0 with a real-time edit session monitoring layer that operates across whichever models you configure. Administrators select the models that require edit conflict protection Sales Orders, Purchase Orders, Invoices, Contacts, or any other model in the system directly from Settings > General Settings > Edit Configuration. Once a model is enabled, the module tracks every active edit session on records within that model.

When a second user navigates to a record already being edited by another user and attempts to open it in edit mode, the module immediately surfaces a validation message identifying the conflict. The message tells the second user that the record is currently being edited, who is editing it, and gives them the option to proceed or step back. If they confirm and proceed, they can still access the record the module does not hard-block editing, it ensures informed, deliberate decisions. Administrators also have full visibility into all active editing sessions at any time through the dedicated Editing Records menu in Settings, which shows the record ID, model, editing user, and timestamp for every open edit session across the system.


Features

  • Confirmation message when record is already being edited by other user.
  • Easily identify details related to record being edited by other user.
  • User can see the records currently being edited by other user from Editing Records menu in settings along with the Time, Model, User and Id of record.


Work Flow

  • Navigate to Settings >> General Settings there user will find Edit Configuration.
  • User have to select the model in which the edit mode validation is required and Save the changes.
  • User can have multiple model selected for edit mode validation if required and Save the changes.


  • Now Navigate to Purchase and edit any purchase order.
  • Here the purchase order P00010 is being edited by Mitchell Admin.


  • Now other user here Marc Demo tries to edit the same purchase order P00010 will show a Validation message.


  • Also if user clicks on OK that record can be accessed to be edited.


  • Also user can see the records currently being edited from Editing Records menu in Settings with the details like record id, model, user who is editing and date time of editing the record.


Sign in to leave a comment