Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 16.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.16 MB
Module directory on disk
Code analysis 0 migration notes 6 models 5 views 0 HTTP endpoints

Description

This module provides an easy way to quickly autocomplete analytic accounts on any model that has a field for analytic accounts.

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
view_account_analytic_distribution_manual_form view.account.analytic.distribution.manual.form account.analytic.distribution.manual form New
view_account_analytic_distribution_manual_search view.account.analytic.distribution.manual.search account.analytic.distribution.manual search New
view_account_analytic_distribution_manual_tree view.account.analytic.distribution.manual.list account.analytic.distribution.manual list New
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.list account.analytic.line list Inherits analytic.view_account_analytic_line_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 6

New fields (3)
  • active Boolean
    default=True
  • company_id Many2one → res.company
    default=<expr> required=True args: 'res.company'
  • name Char
    required=True
Public methods (1)
  • copy_data(self, default=None)

New fields (1)
  • manual_distribution_id Many2one → account.analytic.distribution.manual
    comodel_name='account.analytic.distribution.manual' string='Analytic distribution manual'
Public methods (0)

No public methods.

New fields (1)
  • manual_distribution_id Many2one → account.analytic.distribution.manual
    args: 'account.analytic.distribution.manual'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • analytic_distribution_import Json
    compute='_compute_analytic_distribution_import' help='Defining this field, it will set the analytical distribution in JSON format, but using the analytic accounts names as keys of the dictionary, so it eases the human input.' inverse='_inverse_analytic_distribution_import' readonly=False string='Analytic distribution (importable)'
  • manual_distribution_id Many2one → account.analytic.distribution.manual
    args: 'account.analytic.distribution.manual'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • get_view(self, view_id=None, view_type='form', **options)
    @api.model
    The purpose of inheriting this method is to add a specific field, 'manual_distribution_id', to the list/form views if the model has this field defined. Additionally, if a one2many field exists and the related model has the 'manual_distribution_id' field, the method will add the 'manual_distribution_id' field to the sub-view. Finally, the method returns the modified view. Note: This method should be inherited in the base model, not in the analytic.mixin model, to ensure it executes correctly for models that do not inherit from the mixin but have one2many fields. For example, when rendering account.move, it does not inherit from analytic.mixin, but it has one2many fields that inherit from analytic.mixin.

Loading…

Loading…

Loading…