System Admin

How to lock an accounting period in Odoo

Use lock dates to close a period and protect your reported figures

Finished your month-end close and want to make sure nobody changes the numbers?

Introduction

Once you've closed a month, filed a VAT return or finalised your year-end accounts, the figures need to stay exactly as they are. A back-dated invoice or a changed journal entry in a closed period can throw out your reports and cause real problems with your accountant or the tax authorities. Odoo handles this with lock dates. In this guide we'll explain the different lock dates available in Odoo 19 and how to use them as part of your period-end close.

What are lock dates?

A lock date stops anyone from creating or changing journal entries dated on or before that date. Odoo 19 offers several lock dates, so you can close different areas at different times:

  • Lock Sales: locks customer invoices and credit notes.
  • Lock Purchases: locks vendor bills and refunds.
  • Lock Tax Return: locks entries that affect a tax return you've already filed.
  • Lock Everything: locks all journal entries, typically used once a period is fully closed.
  • Hard Lock: a permanent lock that can never be removed, used where regulations require records to be unalterable.

When a document is created with a date in a locked period, Odoo automatically moves its accounting date to the first open day after the lock date, so new transactions aren't lost.

Step-by-step guide

Step 1: Complete your period-end checks

Before locking, make sure the period is complete:

  • Bank accounts are reconciled.
  • All invoices, bills and payments are posted.
  • Accruals, prepayments and depreciation are booked.
  • Your tax return is reviewed and filed.

Step 2: Open the lock dates window

  1. Go to Accounting ‣ Accounting ‣ Lock Dates.
  2. The Lock Journal Entries window opens.

You'll need administrator access rights in Accounting to change lock dates.

Step 3: Set the right lock dates

  1. Enter the last day of the closed period in each lock date you want to apply, for example Lock Sales and Lock Purchases at the end of each month.
  2. Set Lock Tax Return to the end of the period covered by your latest filed VAT return.
  3. Set Lock Everything once the period is fully closed and reported.
  4. Click Save.

Step 4: Make an exception if you need to

Sometimes a correction is needed after a period is locked. Accounting administrators can create a temporary exception:

  1. Go back to Accounting ‣ Accounting ‣ Lock Dates.
  2. Remove or change the relevant lock date.
  3. In the exception banner, choose whether the exception applies just to you or to everyone, and how long it should last.
  4. Make the correction. The lock is restored automatically when the exception ends.

Step 5: Use the hard lock only when you're certain

At year end, once your accounts are final and filed, you can set a Hard Lock date to the last day of the financial year. It cannot be reversed, so only use it if you need to, and only when everything is confirmed.

Common use cases

  1. Monthly close: lock sales and purchases at the end of each month so management accounts don't change after they're reported.
  2. VAT returns: lock the tax return date once a return is filed, to keep your VAT records matching what was submitted.
  3. Year-end audit: set Lock Everything at the financial year end while your accountant completes the audit.
  4. Regulatory compliance: apply a hard lock where local rules require records to be permanently fixed.

Tips for success

  • Make locking part of your close checklist. Moving lock dates forward every month is a simple habit that protects your reports.
  • Keep exceptions short. Set the shortest sensible duration and record why the exception was needed.
  • Think twice before a hard lock. In the UK it isn't usually required, and once set it can't be undone.

Why use Odoo's lock dates?

  • Protects your figures: reported periods stay exactly as they were reported.
  • Flexible: close sales, purchases, tax and everything else independently.
  • Controlled exceptions: make corrections without unlocking the period for everyone.
  • Audit-friendly: gives your accountant and auditors confidence in your records.

Lock dates are a small step that adds a lot of control to your month-end and year-end processes.

Final thoughts

Locking periods in Odoo is quick, but it's one of the most important controls in your finance process. With a consistent routine of checking, reconciling and then locking each period, your reports stay reliable and your year end becomes far less stressful. If you'd like help designing a month-end close process in Odoo, our team can help.

‍