OdooWiki OCA HUB

Account Journal Lock Date

account_journal_lock_date folder_open OCA/account-financial-tools open_in_new
Uncategorised License: AGPL-3

Lock each accounting journal independently.

In addition to the lock dates provided by standard Odoo, this module provides a 'Lock Date' and a 'Lock Date for Non-Advisers' per journal.

This module also adds a wizard that allows you to update the 'Lock Date' and the 'Lock Date for Non-Advisers' for several Journals at the same time.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Set a lock date and a lock date for non-advisers on each accounting journal separately, and update those dates for several journals at once from a wizard.

This module adds two dates on every accounting journal: a Lock Date and a Lock Date for Non-Advisers. You can find them on the journal form and in the journal list.

  • The Lock Date blocks everyone, including Advisers, from adding or changing entries dated on or before that date in that journal.
  • The Lock Date for Non-Advisers only blocks users who are not Advisers; Advisers can still work on entries on or before that date.

When someone tries to save an entry dated on or before the applicable lock date, Odoo stops them with an error message naming the journal and the lock date. For non-Advisers the message also suggests checking the journal settings or asking someone with the Adviser role.

From the journal list you can select several journals and use the action 'Update journals lock dates'. A small window opens where you enter the two dates and press Update; the dates are then written on all selected journals. Only Advisers (or the superuser) are allowed to run this action.

The module works together with the standard accounting lock dates and applies to account.journal and account.move.

Depends on

account
Models and fields (3)
  • account.move · extends an existing model
  • account.journal · extends an existing modelperiod_lock_date (Lock Date for Non-Advisers), fiscalyear_lock_date (Lock Date)
  • update.journal.lock.dates.wizard · new modelperiod_lock_date (Lock Date for Non-Advisers), fiscalyear_lock_date (Lock Date)

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/account-financial-tools.

terminal Installation and usage

OCA documentation · Odoo 19.0

To configure this module, you need to:

  • Go to Invoicing \> Configuration \> Journals
  • Open a Journal and set the 'Lock Date' and the 'Lock Date for Non-Advisers' in the' Advanced Settings' tab of the form view or select several Journals in the list view and click on the action menu 'Update journals lock dates' to update those dates for the selected journals at the same time.

If the logged-in user has the access group 'Adviser', he/she will not be able to create a journal entry if the 'Lock Date' of the journal is greater than or equal to the journal entry.

If the logged-in user has not the access group 'Adviser', he/she will not be able to create a journal entry if the 'Lock Date for Non-Advisers' of the journal is greater than or equal to the journal entry.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.