TIP: You can type at any time to perform a new search.
Account analytic distribution manual
account_analytic_distribution_manual · OCA/account-analytic
- Repository
- OCA/account-analytic · module folder · Try on Runboat
- Module version
- 1.0.2
- Category
- Uncategorized
- Folder size
- 0.16 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-analytic
- Last tracking update
- 2026-08-07 08:42:51
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Carlos Lopez, Miquel Raïch, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module provides an easy way to quickly autocomplete analytic accounts on any model that has a field for analytic accounts.
Code Analysis ⓘ
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…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 44 days ago
- Last activity
- 21 days ago
- Repository
- OCA/account-analytic
- Pull request
- [19.0][mig] account analytic distribution manual (#941)