Repository
OCA/account-closing · module folder · Try on Runboat
Module version
2.0.0
Category
Accounting & Finance
Folder size
0.46 MB
License
AGPL-3
Application
Yes
Auto-installable
No
Website
https://github.com/OCA/account-closing
Last tracking update
2026-08-07 07:38:29
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
Alexis de Lattre, GitHub, JordiMForgeFlow, Weblate, OCA Transbot, OCA-git-bot, oca-travis, jim.hoefnagels
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
account_cutoff_accrual_dates
Description

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
account_cutoff_filter prepaid.account.cutoff.prepaid.search account.cutoff search Inherits account_cutoff_base.account_cutoff_filter
account_cutoff_form account.cutoff.prepaid.form account.cutoff form Inherits account_cutoff_base.account_cutoff_form
account_cutoff_line_form account.cutoff.line.prepaid.form account.cutoff.line form Inherits account_cutoff_base.account_cutoff_line_form
account_cutoff_line_tree account.cutoff.line.prepaid.tree account.cutoff.line tree Inherits account_cutoff_base.account_cutoff_line_tree
account_cutoff_tree account.cutoff.prepaid.tree account.cutoff tree Inherits account_cutoff_base.account_cutoff_tree
res_config_settings_view_form accrual.base.account.config.form res.config.settings form Inherits account_cutoff_base.res_config_settings_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (4)
  • end_date Date
  • forecast Boolean
    help='The Forecast mode allows the user to compute the prepaid revenue/expense between 2 dates in the future.' readonly=True tracking=True
  • source_journal_ids Many2many → account.journal
    column1='cutoff_id' column2='journal_id' default=<expr> readonly=True states={'draft': [('readonly', False)]} string='Source Journals' args: 'account.journal'
  • start_date Date
Public methods (3)
  • forecast_disable(self)
  • forecast_enable(self)
  • get_lines(self)

New fields (7)
  • end_date Date
    readonly=True
  • move_date Date
    related='move_line_id.move_id.date' string='Entry Date'
  • move_id Many2one
    related='move_line_id.move_id' string='Journal Entry'
  • move_line_id Many2one → account.move.line
    string='Journal Item' args: 'account.move.line'
  • prepaid_days Integer
    help='In regular mode, this is the number of days after the cut-off date. In forecast mode, this is the number of days between the start date and the end date.' readonly=True
  • start_date Date
    readonly=True
  • total_days Integer
    readonly=True args: 'Total Days'
Public methods (0)

No public methods.

New fields (2)
  • default_prepaid_expense_account_id Many2one → account.account
    domain=[('deprecated', '=', False)] string='Default Account for Prepaid Expense' args: 'account.account'
  • default_prepaid_revenue_account_id Many2one → account.account
    domain=[('deprecated', '=', False)] string='Default Account for Prepaid Revenue' args: 'account.account'
Public methods (0)

No public methods.

New fields (2)
  • dft_prepaid_expense_account_id Many2one
    readonly=False related='company_id.default_prepaid_expense_account_id'
  • dft_prepaid_revenue_account_id Many2one
    readonly=False related='company_id.default_prepaid_revenue_account_id'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…