Account analytic distribution manual
account_analytic_distribution_manual · OCA/account-analytic
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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)
-
activeBooleandefault=True -
company_idMany2one → res.companydefault=<expr>required=True args: 'res.company' -
nameCharrequired=True
-
copy_data(self, default=None)
New fields (1)
-
manual_distribution_idMany2one → account.analytic.distribution.manualcomodel_name='account.analytic.distribution.manual'string='Analytic distribution manual'
No public methods.
New fields (1)
-
manual_distribution_idMany2one → account.analytic.distribution.manualargs: 'account.analytic.distribution.manual'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
analytic_distribution_importJsoncompute='_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=Falsestring='Analytic distribution (importable)' -
manual_distribution_idMany2one → account.analytic.distribution.manualargs: 'account.analytic.distribution.manual'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
get_view(self, view_id=None, view_type='form', **options)@api.modelThe 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…