account_fiscal_year_auto_create
This module automatically creates future fiscal years for each company when the current period ends, driven by a daily scheduled job.
Key Features
- account.fiscal.year: Automatically creates a new fiscal year per company when the current one ends, reusing the previous configuration.
- account.fiscal.year: Derives the next fiscal year's name by incrementing year fragments and falls back to a date-based label to avoid duplicates.
- account.fiscal.year: Calculates start and end dates for the new fiscal year from the day after the current closing date, keeping a 12-month duration even in leap years.
- ir.cron: Adds a daily scheduled job that triggers the fiscal year auto creation logic for all companies.