account_lock_to_date
Allows accounting administrators to manage company-wide lock dates for fiscal year, sales, purchase, and hard-stop periods to block journal changes after cutoff dates.
Key Features
- res.company: Adds sales, purchase, fiscal year, and hard lock date settings with user-specific lock computations that honor parent companies and granted exceptions.
- res.company: Enforces hard lock updates by prohibiting removals, preventing moves to a later date, and requiring draft entries after the cutoff to be resolved first.
- account.move: Prevents posting, cancelling, or reverting journal entries dated on or after any lock to date that applies to their journal type.
- account.update.lock_to_date: Provides a wizard that preloads current lock dates, restricts execution to accounting advisers, and applies the updated company settings.
- account.lock_exception: Extends lock exceptions to cover sales, purchase, and fiscal year lock fields with computed values and search helpers for managing overrides.