Automatic Fiscal Year Sequences

account_auto_fy_sequence
REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/8.0/account_auto_fy_sequence
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSStéphane Bidoul, Alexis de Lattre, Yannick Vaucher, Alexandre Fayolle, Leonardo Pistone, Pedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttp://acsone.eu
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sequence_inherit_form ir.sequence.form ir.sequence label Inherits base.sequence_view
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • create_sequence(self, cr, uid, vals, context=None)
    Create new no_gap entry sequence for every new Joural with fiscal year prefix

New fields (0)

No new fields.

Public methods (1)
  • write(self, cr, uid, ids, vals, context=None)
REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/7.0/account_auto_fy_sequence
VERSION
VERSION 0.1
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSStéphane Bidoul, Alexis de Lattre, Alexandre Fayolle, Laetitia Gangloff, OCA Transbot, Rudolf Schnapka
WEBSITE
WEBSITEhttp://acsone.eu
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
    Automatic creation of fiscal year sequences.

    This module adds the possibility to use the `%(fy)s` placeholder
    in sequences. `%(fy)s` is replaced by the fiscal year code when
    using the sequence.

    The first time the sequence is used for a given fiscal year,
    a specific fiscal year sequence starting at 1 is created automatically.

    /!\ If you change `%(year)s` to `%(fy)s` on a sequence that has
    already been used for the current fiscal year, make sure to manually
    create the fiscal year sequence for the current fiscal year and
    initialize it's next number to the correct value.
    For this reason, the module will forbid the user to change
    a sequence from `%(year)s` to `%(fy)s` if it's next number is > 1.

    The module also replaces `%(year)s` by `%(fy)s` in the default prefix
    for new journals, assuming it is a safer default.
    

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sequence_inherit_form ir.sequence.form ir.sequence label Inherits base.sequence_view
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • create_sequence(self, cr, uid, vals, context=None)
    Create new no_gap entry sequence for every new Joural with fiscal year prefix

New fields (0)

No new fields.

Public methods (1)
  • write(self, cr, uid, ids, vals, context=None)