OdooWiki OCA HUB

Account Fiscal Year Closing Range

account_fiscal_year_closing_range folder_open OCA/account-closing open_in_new
Accounting & Finance License: AGPL-3

This module extends the fiscal year closing functionality to allow mapping account ranges.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

This module adds a wizard to the fiscal year closing that creates mapping lines for a whole range of account codes at once, instead of entering each account one by one.

When preparing a fiscal year closing, you can now define a start and end account code and let Odoo generate one mapping line for every account inside that range.

  • On a fiscal year closing (in draft state) and on a closing template, a "Generate Range" button opens the wizard.
  • In the wizard you enter the start and end account codes, an optional name prefix, and the destination account code where balances will be transferred.
  • A preview list shows exactly which accounts fall in the range before you confirm.
  • Pressing "Generate Mappings" creates the mapping lines and shows a success message with the number of lines created.

The mapping lines themselves gain "Start Account Code" and "End Account Code" fields. During closing, accounts are selected by code range (or by the usual pattern when no range is set), and their balances are moved to the destination account. If no account is found in the range, or a template is not saved yet, an error message stops the process.

It extends the fiscal year closing configuration, mapping and template screens and adds a new wizard accessible only to accounting managers.

Models and fields (3)
  • fiscalyear.closing.range.wizard · new modelcode_end (End Account Code), code_start (Start Account Code), company_id (Company), name_prefix (Mapping Name Prefix), fyc_config_id (Fiscal Year Closing Config), dest_account_code (Destination Account Code), preview_account_ids (Preview Accounts), fyc_config_template_id (Fiscal Year Closing Config Template)
  • account.fiscalyear.closing.config · extends an existing model
  • account.fiscalyear.closing.mapping · extends an existing modelcode_end (End Account Code), code_start (Start Account Code)

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/account-closing.

terminal Installation and usage

OCA documentation · Odoo 18.0

To configure this module, you need to:

  • Go to Accounting \> Accounting \> Fiscal Year Closings.
  • Create or edit a fiscal year closing or a template.
  • In the Moves configuration section, edit a configuration line.
  • Locate the Accounts mapping section.
  • Click the "Generate Range" button to open the wizard.
  • Once the lines are generated by the wizard, save the configuration.

Account Range Wizard

If you want to generate multiple mapping records at once for a specific range of accounts:

  • Go to the Accounts mapping section in a Fiscal Year Closing configuration or template.
  • Click the "Generate Range" button (magic icon) located above the mapping list.
  • In the wizard:
  • Set the Start Account Code and End Account Code.
  • Enter the Destination Account Code (e.g., 3.1.01.001).
  • Optional: Define a Mapping Name Prefix to identify these lines easily.
  • Click "Generate Mappings".
  • The wizard will find all accounts in the range and create an individual mapping line for each one, using the provided destination code.

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.