Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 357 |
Technical Name |
advance_lock_unlock_record |
License | OPL-1 |
Versions | 15.0 16.0 17.0 18.0 |
In Odoo by default, only the Sale and Purchase modules allow record locking, and locking can only be performed on confirmed Sale and Purchase orders.
However, in practice, there are cases where you might want to lock specific records in other modules to prevent users from editing or deleting those records.
For instance, if a customer has not yet paid an invoice and you do not wish to proceed with delivery, you could lock the stock picking record to prevent users from validating it.

Configuration:
To use the lock and unlock record feature, you need to enable the option 'Allow To Lock or Unlock Record.
List features:
1. Able to lock or unlock multiple records in the list view.
- You can select multiple records to lock or unlock.
- It's easy to identify which records have been locked in the list view.
2. Able to lock or unlock records in the form view.
3. Locked records cannot be edited or deleted.
- If you perform any actions on a locked record, such as editing, deleting, or clicking any button, you will receive this message.
4. List all locked records.
- You can see all locked records from setting.
Apps May You Like
Email Support: huynh.giang.son.gs@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