Account Analytic Document Date

account_analytic_document_date
REPOSITORY
REPOSITORYOCA/account-analytic
GIT
GIThttps://github.com/OCA/account-analytic.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-analytic/tree/17.0/account_analytic_document_date
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), APSL-Nagarro
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), APSL-Nagarro
COMMITTERS
COMMITTERSAlexis de Lattre, OCA-git-bot, oca-ci, Antoni Marroig Campomar
WEBSITE
WEBSITEhttps://github.com/OCA/account-analytic
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-reconcile:
    - account_reconcile_oca
    - account_statement_base
    - account_reconcile_model_oca
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
The module introduces a new field in the accounting records to specify the "Accrual Date" for income and expenses. This field is crucial for accurately tracking when the revenue or expense is earned or incurred, regardless of the invoice creation date.

For instance, if an invoice is created in December but refers to sales made in November, the Accrual Date allows us to reflect this correctly in our accounting records. This ensures compliance with accrual-based accounting principles and provides better insights into the financial period to which transactions belong.

This feature is particularly valuable for businesses that need to differentiate between the accounting period of transaction occurrence and the timing of document issuance.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
account_move_view_form_inherit account_move_view_form_inherit account.move xpath Inherits account.view_move_form
bank_statement_line_form_reconcile_view_inherit bank_statement_line_form_reconcile_view.inherit account.bank.statement.line xpath Inherits account_reconcile_oca.bank_statement_line_form_reconcile_view
view_account_analytic_line_filter_inherit_document_date Analytic Document Date Search account.analytic.line xpath Inherits analytic.view_account_analytic_line_filter
view_account_analytic_line_form account.analytic.line.form account.analytic.line field Inherits analytic.view_account_analytic_line_form
view_account_analytic_line_tree account.analytic.line.tree account.analytic.line field Inherits analytic.view_account_analytic_line_tree
Models touched (4)

New fields (1)
  • document_date Date
Public methods (0)

No public methods.

New fields (1)
  • analytic_document_date Date
    readonly=False related='move_id.analytic_document_date' args: 'Analytic Document Date'
Public methods (1)
  • reconcile_bank_line(self)

New fields (1)
  • analytic_document_date Date
Public methods (2)
  • action_post(self)
  • create(self, vals_list)
    @api.model_create_multi

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-analytic
GIT
GIThttps://github.com/OCA/account-analytic.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-analytic/tree/16.0/account_analytic_document_date
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), APSL-Nagarro
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), APSL-Nagarro
COMMITTERS
COMMITTERSAlexis de Lattre, Weblate, OCA-git-bot, oca-ci, bobrador
WEBSITE
WEBSITEhttps://github.com/OCA/account-analytic
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:12:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-reconcile:
    - account_reconcile_oca
    - account_statement_base
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
The module introduces a new field in the accounting records to specify the "Accrual Date" for income and expenses. This field is crucial for accurately tracking when the revenue or expense is earned or incurred, regardless of the invoice creation date.

For instance, if an invoice is created in December but refers to sales made in November, the Accrual Date allows us to reflect this correctly in our accounting records. This ensures compliance with accrual-based accounting principles and provides better insights into the financial period to which transactions belong.

This feature is particularly valuable for businesses that need to differentiate between the accounting period of transaction occurrence and the timing of document issuance.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
account_move_view_form_inherit account_move_view_form_inherit account.move xpath Inherits account.view_move_form
bank_statement_line_form_reconcile_view_inherit bank_statement_line_form_reconcile_view.inherit account.bank.statement.line xpath Inherits account_reconcile_oca.bank_statement_line_form_reconcile_view
view_account_analytic_line_filter_inherit_document_date Analytic Document Date Search account.analytic.line xpath Inherits analytic.view_account_analytic_line_filter
view_account_analytic_line_form account.analytic.line.form account.analytic.line field Inherits analytic.view_account_analytic_line_form
view_account_analytic_line_tree account.analytic.line.tree account.analytic.line field Inherits analytic.view_account_analytic_line_tree
Models touched (4)

New fields (1)
  • document_date Date
Public methods (0)

No public methods.

New fields (1)
  • analytic_document_date Date
    readonly=False related='move_id.analytic_document_date' args: 'Analytic Document Date'
Public methods (1)
  • reconcile_bank_line(self)

New fields (1)
  • analytic_document_date Date
Public methods (2)
  • action_post(self)
  • create(self, vals_list)
    @api.model_create_multi

New fields (0)

No new fields.

Public methods (0)

No public methods.