Repository
OCA/account-closing · module folder · Try on Runboat
Module version
1.0.0
Category
Accounting
Folder size
0.14 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/account-closing
Last tracking update
2026-08-07 08:42:59
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
Alexis de Lattre, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module allows you to easily compute accrued expenses (and accrued
revenues) by comparing expected expense amounts (configured as
*subscriptions*) with real expense amounts.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
account_cutoff_accrual_subscription_form account.cutoff.accrual.subscription.form account.cutoff.accrual.subscription form New
account_cutoff_accrual_subscription_search account.cutoff.accrual.subscription.search account.cutoff.accrual.subscription search New
account_cutoff_accrual_subscription_tree account.cutoff.accrual.subscription.list account.cutoff.accrual.subscription list New
account_cutoff_line_form account.cutoff.line form Inherits account_cutoff_base.account_cutoff_line_form
account_cutoff_line_tree account.cutoff.line tree Inherits account_cutoff_base.account_cutoff_line_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • get_lines(self)

New fields (14)
  • account_id Many2one → account.account
    check_company=True domain="[('deprecated', '=', False), ('company_ids', 'in', company_id)]" required=True string='Account' args: 'account.account'
  • active Boolean
    default=True
  • company_currency_id Many2one
    related='company_id.currency_id' store=True string='Company Currency'
  • company_id Many2one → res.company
    default=<expr> ondelete='cascade' required=True string='Company' args: 'res.company'
  • min_amount Monetary
    currency_field='company_currency_id' help='Minimum amount without taxes over the period' required=True string='Minimum Amount'
  • name Char
    required=True
  • partner_id Many2one → res.partner
    compute='_compute_partner_id' domain=[('parent_id', '=', False)] ondelete='restrict' precompute=True readonly=False store=True string='Partner' args: 'res.partner'
  • partner_type Selection
    default='one' required=True args: [('any', 'Any Partner'), ('one', 'Specific Partner'), ('none', 'No Partner')]
  • periodicity Selection
    required=True args: [('month', 'Monthly'), ('quarter', 'Quarterly'), ('semester', 'Semesterly'), ('year', 'Yearly')]
  • provision_amount Monetary
    compute='_compute_provision_amount' currency_field='company_currency_id' precompute=True readonly=False store=True string='Default Provision Amount'
  • start_date Date
    required=True
  • subscription_type Selection
    default='expense' required=True string='Type' args: [('revenue', 'Revenue'), ('expense', 'Expense')]
  • tax_ids Many2many → account.tax
    check_company=True compute='_compute_tax_ids' domain="[('price_include', '=', False), ('company_id', '=', company_id), ('type_tax_use', '=', type_tax_use)]" precompute=True readonly=False store=True string='Taxes' args: 'account.tax'
  • type_tax_use Char
    compute='_compute_type_tax_use'
Public methods (1)
  • check_start_date(self)
    @api.constrains('start_date')

New fields (1)
  • subscription_id Many2one → account.cutoff.accrual.subscription
    check_company=True ondelete='restrict' args: 'account.cutoff.accrual.subscription'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…