Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 265 |
Technical Name |
prsit_global_lock_period |
License | OPL-1 |
Website | http://prosit.contactus@gmail.com |
Versions | 16.0 17.0 18.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 265 |
Technical Name |
prsit_global_lock_period |
License | OPL-1 |
Website | http://prosit.contactus@gmail.com |
Versions | 16.0 17.0 18.0 |
Global Lock Period
Advanced Record-Level Locking for Odoo
Global Lock Period - Control Field Edits, Maintain Clean and Compliant Records
The Global Lock Period module provides a powerful and flexible way to control date-sensitive data entry across any Odoo model. Designed for organizations that require strict governance over specific fields (such as dates) during defined periods, this tool enforces business rules and prevents unauthorized modifications during lock periods.
Main Features:
- Apply field-level control across custom modules or third-party apps.
- Restrict access to sensitive time frames for specific users - ideal for financial, operational, or audit controls.
- Apply locking rules to standard or custom models like Sales, Purchase, inventory, HR, CRM, and more.
-
With this module, administrators can define Global Lock Periods by specifying:
- Lock Name - Reference for the lock configuration.
- Start Date & End Date - The effective range of the lock period.
- Affected Models - Any Odoo model (e.g., Sales Order, Purchase Order, Invoices, etc.).
- Locked Field - The field to restrict (e.g., Order Date, Invoice Date, etc.).
- Allowed Users - Users who are permitted to bypass the lock and continue modifying restricted fields.
- Only authorized users can perform sensitive changes during locked periods.
NOTE: This functionality only works when the Global Lock Period is active and in a locked state.
Configure Global Lock Period
Settings > Global Lock Period (Administrator Access)

Configure Locking Period (Start Date - End Date)
- Lock Name - Reference for the lock configuration.
- Start Date & End Date - The effective range of the lock period.
- Affected Models - Any Odoo model (e.g., Sales Order, Purchase Order, Invoices, etc.).
- Locked Field - The field to restrict (e.g., Order Date, Invoice Date, etc.).
- Allowed Users - Users who are permitted to bypass the lock and continue modifying restricted fields.

Configure Warning Messages
Inline Model restriction warning message

Global Model restriction warning message

Global Lock Period With Inline warning message
Here example of Sales order with Inline Warning message

Date was selected 16 July 2025 which is in range of Formar Lock period

Inline Warning message raise while select date in range of Lock period

Global Lock Period With Global warning message
Here example of Purchase order with Global Warning message

Date was selected 16 July 2025 which is in range of Formar Lock period

Warning message raise while select date in range of Lock period

Global Lock Period Without any warning message
Here example of Purchase order without Warning message


Date was selected 16 July 2025 which is in range of Formar Lock period

Warning message raise while select date in range of Lock period

OUR SERVICES
Odoo Customization
Odoo Integration
Odoo Installation
Odoo Migration
Odoo Support
Help & Free Support
Any type of issue related to this module, any doubt, any bugs or issue please contactus [Free support for 60Days only for doubt, bugs & issue].
Get In Touch
If You Need Any Help Please Contact :prosit.contactus@gmail.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