Repository
OCA/account-analytic · module folder · Try on Runboat
Module version
1.0.1
Category
Uncategorized
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/account-analytic
Last tracking update
2026-08-07 08:22:57
Authors
Odoo Community Association (OCA), APSL-Nagarro
Maintainers
Odoo Community Association (OCA), APSL-Nagarro
Committers
Alexis de Lattre, OCA-git-bot, oca-ci, Antoni Marroig Campomar
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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 form Inherits account.view_move_form
bank_statement_line_form_reconcile_view_inherit bank_statement_line_form_reconcile_view.inherit account.bank.statement.line form 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 Inherits analytic.view_account_analytic_line_filter
view_account_analytic_line_form account.analytic.line.form account.analytic.line form Inherits analytic.view_account_analytic_line_form
view_account_analytic_line_tree account.analytic.line.tree account.analytic.line tree Inherits analytic.view_account_analytic_line_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.

Loading…