Account Fiscal Year

account_fiscal_year
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/19.0/account_fiscal_year
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp SA, Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp SA, Agile Business Group
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Borruso
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:46
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows to create and edit fiscal years from the menu:

Invoicing \> Configuration \> Accounting \> Fiscal Years

.. figure:: static/description/account_fiscal_year_form.png

The start and end dates of the current fiscal years are then available
in the company list and form views.

.. figure:: static/description/res_company_list.png

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
account_fiscal_year_form_view Form view for account.fiscal.year account.fiscal.year form New
account_fiscal_year_list_view List view for account.fiscal.year account.fiscal.year list New
account_fiscal_year_search_view Search view for account.fiscal.year account.fiscal.year search New
res_company_view_form res.company field Inherits base.view_company_form
res_company_view_tree res.company field Inherits base.view_company_tree
Models touched (2)

New fields (4)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True string='Company'
  • date_from Date
    help='Start Date, included in the fiscal year.' required=True string='Start Date'
  • date_to Date
    help='Ending Date, included in the fiscal year.' required=True string='End Date'
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (2)
  • fiscal_year_date_from Date
    compute='_compute_fiscal_year_dates' compute_sudo=True string='Start Date of the Fiscal Year'
  • fiscal_year_date_to Date
    compute='_compute_fiscal_year_dates' compute_sudo=True string='End Date of the Fiscal Year'
Public methods (1)
  • compute_fiscalyear_dates(self, current_date)
    Computes the start and end dates of the fiscal year where the given 'date' belongs to. :param current_date: A datetime.date/datetime.datetime object. :return: A dictionary containing: * date_from * date_to * [Optionally] record: The fiscal year record.
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/18.0/account_fiscal_year
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp SA, Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp SA, Agile Business Group
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Salvatore Davide Rapisarda
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows to create and edit fiscal years from the menu:

Invoicing \> Configuration \> Accounting \> Fiscal Years

.. figure:: static/description/account_fiscal_year_form.png

The start and end dates of the current fiscal years are then available
in the company list and form views.

.. figure:: static/description/res_company_list.png

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
account_fiscal_year_form_view Form view for account.fiscal.year account.fiscal.year form New
account_fiscal_year_list_view List view for account.fiscal.year account.fiscal.year list New
account_fiscal_year_search_view Search view for account.fiscal.year account.fiscal.year search New
res_company_view_form res.company field Inherits base.view_company_form
res_company_view_tree res.company field Inherits base.view_company_tree
Models touched (2)

New fields (4)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True string='Company'
  • date_from Date
    help='Start Date, included in the fiscal year.' required=True string='Start Date'
  • date_to Date
    help='Ending Date, included in the fiscal year.' required=True string='End Date'
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (2)
  • fiscal_year_date_from Date
    compute='_compute_fiscal_year_dates' compute_sudo=True string='Start Date of the Fiscal Year'
  • fiscal_year_date_to Date
    compute='_compute_fiscal_year_dates' compute_sudo=True string='End Date of the Fiscal Year'
Public methods (1)
  • compute_fiscalyear_dates(self, current_date)
    Computes the start and end dates of the fiscal year where the given 'date' belongs to. :param current_date: A datetime.date/datetime.datetime object. :return: A dictionary containing: * date_from * date_to * [Optionally] record: The fiscal year record.
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/17.0/account_fiscal_year
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp SA, Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp SA, Agile Business Group
COMMITTERS
COMMITTERSSylvain LE GAL, Ruchir Shukla, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows to create and edit fiscal years from the menu:

Invoicing \> Configuration \> Accounting \> Fiscal Years

.. figure:: static/description/account_fiscal_year_form.png

The start and end dates of the current fiscal years are then available
in the company tree and form views.

.. figure:: static/description/res_company_tree.png

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
account_fiscal_year_form_view Form view for account.fiscal.year account.fiscal.year form New
account_fiscal_year_search_view Search view for account.fiscal.year account.fiscal.year search New
account_fiscal_year_tree_view Tree view for account.fiscal.year account.fiscal.year tree New
res_company_view_form res.company field Inherits base.view_company_form
res_company_view_tree res.company field Inherits base.view_company_tree
Models touched (2)

New fields (4)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True string='Company'
  • date_from Date
    help='Start Date, included in the fiscal year.' required=True string='Start Date'
  • date_to Date
    help='Ending Date, included in the fiscal year.' required=True string='End Date'
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (2)
  • fiscal_year_date_from Date
    compute='_compute_fiscal_year_dates' compute_sudo=True string='Start Date of the Fiscal Year'
  • fiscal_year_date_to Date
    compute='_compute_fiscal_year_dates' compute_sudo=True string='End Date of the Fiscal Year'
Public methods (1)
  • compute_fiscalyear_dates(self, current_date)
    Computes the start and end dates of the fiscal year where the given 'date' belongs to. :param current_date: A datetime.date/datetime.datetime object. :return: A dictionary containing: * date_from * date_to * [Optionally] record: The fiscal year record.
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/16.0/account_fiscal_year
VERSION
VERSION 1.3.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp SA, Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp SA, Agile Business Group
COMMITTERS
COMMITTERSSylvain LE GAL, Weblate, OCA-git-bot, Andrea Stirpe, oca-ci, Benoit Aimont
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:47
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
account_fiscal_year_form_view Form view for account.fiscal.year account.fiscal.year form New
account_fiscal_year_search_view Search view for account.fiscal.year account.fiscal.year search New
account_fiscal_year_tree_view Tree view for account.fiscal.year account.fiscal.year tree New
res_company_view_form res.company field Inherits base.view_company_form
res_company_view_tree res.company field Inherits base.view_company_tree
Models touched (2)

New fields (4)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True string='Company'
  • date_from Date
    help='Start Date, included in the fiscal year.' required=True string='Start Date'
  • date_to Date
    help='Ending Date, included in the fiscal year.' required=True string='End Date'
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (2)
  • fiscal_year_date_from Date
    compute='_compute_fiscal_year_dates' compute_sudo=True string='Start Date of the Fiscal Year'
  • fiscal_year_date_to Date
    compute='_compute_fiscal_year_dates' compute_sudo=True string='End Date of the Fiscal Year'
Public methods (1)
  • compute_fiscalyear_dates(self, current_date)
    Computes the start and end dates of the fiscal year where the given 'date' belongs to. :param current_date: A datetime.date/datetime.datetime object. :return: A dictionary containing: * date_from * date_to * [Optionally] record: The fiscal year record.
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/15.0/account_fiscal_year
VERSION
VERSION 1.3.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp SA, Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp SA, Agile Business Group
COMMITTERS
COMMITTERSOCA Transbot, Miquel Raïch, Sébastien Alix, AaronHForgeFlow, Weblate, OCA-git-bot, Andrea Stirpe, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:34
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
account_fiscal_year_form_view Form view for account.fiscal.year account.fiscal.year form New
account_fiscal_year_search_view Search view for account.fiscal.year account.fiscal.year search New
account_fiscal_year_tree_view Tree view for account.fiscal.year account.fiscal.year tree New
Models touched (2)

New fields (4)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True string='Company'
  • date_from Date
    help='Start Date, included in the fiscal year.' required=True string='Start Date'
  • date_to Date
    help='Ending Date, included in the fiscal year.' required=True string='End Date'
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • compute_fiscalyear_dates(self, current_date)
    Computes the start and end dates of the fiscal year where the given 'date' belongs to. :param current_date: A datetime.date/datetime.datetime object. :return: A dictionary containing: * date_from * date_to * [Optionally] record: The fiscal year record.
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/14.0/account_fiscal_year
VERSION
VERSION 1.2.1
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp SA, Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp SA, Agile Business Group
COMMITTERS
COMMITTERSAlexis de Lattre, tafaRU, OCA Transbot, oca-travis, Weblate, OCA-git-bot, SimoRubi, oca-ci, George Smirnov, xavier-bouquiaux
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-ux:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
account_fiscal_year_form_view Form view for account.fiscal.year account.fiscal.year form New
account_fiscal_year_search_view Search view for account.fiscal.year account.fiscal.year search New
account_fiscal_year_tree_view Tree view for account.fiscal.year account.fiscal.year tree New
Models touched (2)

New fields (4)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True string='Company'
  • date_from Date
    help='Start Date, included in the fiscal year.' required=True string='Start Date'
  • date_to Date
    help='Ending Date, included in the fiscal year.' required=True string='End Date'
  • name Char
    required=True string='Name'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • compute_fiscalyear_dates(self, current_date)
    Computes the start and end dates of the fiscal year where the given 'date' belongs to. :param current_date: A datetime.date/datetime.datetime object. :return: A dictionary containing: * date_from * date_to * [Optionally] record: The fiscal year record.
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/13.0/account_fiscal_year
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp SA, Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp SA, Agile Business Group
COMMITTERS
COMMITTERSmreficent, OCA Transbot, João Marques, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-ux:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (0)

No models found for this module.

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/12.0/account_fiscal_year
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, Agile Business Group
COMMITTERS
COMMITTERSGitHub, mreficent, OCA Transbot, oca-travis, Weblate, OCA-git-bot, sergiocorato, Simone Rubino, Vincent Van Rossem
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-ux:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (0)

No models found for this module.

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/11.0/account_fiscal_year
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Vincent Van Rossem
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-ux:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_date_range_type_fiscalyear_form_view date.range.type.form date.range.type field Inherits date_range.view_date_range_type_form_view
view_date_range_type_fiscalyear_tree date.range.type.tree date.range.type field Inherits date_range.view_date_range_type_tree
Models touched (2)

New fields (1)
  • fiscal_year Boolean
    default=False string='Is fiscal year?'
Public methods (1)
  • unlink(self)
    @api.multi
    Cannot delete a date_range_type with 'fiscal_year' flag = True

New fields (0)

No new fields.

Public methods (2)
  • compute_fiscalyear_dates(self, date)
    @api.multi
    Computes the start and end dates of the fiscalyear where the given 'date' belongs to @param date: a datetime object @returns: a dictionary with date_from and date_to
  • find_daterange_fy(self, date)
    try to find a date range with type 'fiscalyear' with @param:date contained in its date_start/date_end interval
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/10.0/account_fiscal_year
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSAlexis de Lattre, Pedro M. Baeza, GitHub, Cédric Pigeon, Andrea, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Vincent Van Rossem
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_date_range_type_fiscalyear_form_view date.range.type.form date.range.type field Inherits date_range.view_date_range_type_form_view
view_date_range_type_fiscalyear_tree date.range.type.tree date.range.type field Inherits date_range.view_date_range_type_tree
Models touched (2)

New fields (1)
  • fiscal_year Boolean
    default=False string='Is fiscal year?'
Public methods (1)
  • unlink(self)
    @api.multi
    Cannot delete a date_range_type with 'fiscal_year' flag = True

New fields (0)

No new fields.

Public methods (2)
  • compute_fiscalyear_dates(self, date)
    @api.multi
    Computes the start and end dates of the fiscalyear where the given 'date' belongs to @param date: a datetime object @returns: a dictionary with date_from and date_to
  • find_daterange_fy(self, date)
    try to find a date range with type 'fiscalyear' with @param:date contained in its date_start/date_end interval
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/9.0/account_fiscal_year
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp SA
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp SA
COMMITTERS
COMMITTERSeLBati, Stéphane Bidoul (ACSONE), OCA Transbot, Laurent Mignon, Damien Crier, oca-travis, Weblate, OCA-git-bot, Simone Orsi
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_date_range_type_fiscalyear_form_view date.range.type.form date.range.type field Inherits date_range.view_date_range_type_form_view
view_date_range_type_fiscalyear_tree date.range.type.tree date.range.type field Inherits date_range.view_date_range_type_tree
Models touched (2)

New fields (1)
  • fiscal_year Boolean
    default=False string='Is fiscal year ?'
Public methods (1)
  • unlink(self)
    @api.multi
    Cannot delete a date_range_type with 'fiscal_year' flag = True

New fields (0)

No new fields.

Public methods (2)
  • compute_fiscalyear_dates(self, date)
    @api.multi
    Computes the start and end dates of the fiscalyear where the given 'date' belongs to @param date: a datetime object @returns: a dictionary with date_from and date_to
  • find_daterange_fy(self, date)
    try to find a date range with type 'fiscalyear' with @param:date contained in its date_start/date_end interval