Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 21 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 6 Odoo series since 10.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.14 MB
Module directory on disk
Code analysis 1 migration note 3 models 5 views 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…