Accounting

How to lock an Odoo accounting date

A lock date stops ordinary users from posting into a period you have closed. Test the refusal before you rely on it.

By OdooMatrix Published 2 min read

Part of a complete guide

This task is one section of Odoo accounting: nine everyday tasks, step by step, with 8 related tasks on one page.

1. Open Lock Dates

Go to Accounting → Accounting → Lock Dates. You need administrator access to Accounting. If the menu is missing, Accounting is not installed or this user cannot administer it.

2. Set Lock Everything

In the Lock Journal Entries window, set the Lock Everything date to the last day of a period you have finished, then save. The date is inclusive. Practice on a copy before you lock a live company.

3. Check a dated invoice

Create a customer invoice with an accounting date on or before that lock date. Odoo 19 does not keep that date. It moves the accounting date to the day after the lock. Entries already posted on or before the lock date also cannot be modified.

4. Correct without deleting the lock

If an invoice in an open period is wrong, issue a credit note. An accounting administrator can record a logged exception from Lock Dates. A hard lock cannot be removed. Do not delete a posted invoice to get around the date.

5. Frequently asked questions

Does a lock delete old entries?

No. It blocks changes to posted entries on or before that date. Odoo 19 also moves a new entry’s accounting date to the day after the lock.

Can some users still post?

An accounting administrator can record a logged exception. Test with the user who posts daily invoices. A hard lock cannot be removed.

Should I lock today’s date?

Lock a period you have finished. Locking today will block ordinary work.

6. Related articles and next steps

Official reference

Odoo documents Lock Everything in the Odoo 19 year-end closing page. Labels can still vary with the installed accounting app.

Continue learning

Need help with your Odoo setup?

Describe the version, hosting, and workflow you want to improve. Email OdooMatrix to discuss the next step.

← Back to all articles