Account analytic distribution manual

account_analytic_distribution_manual
REPOSITORY
REPOSITORYOCA/account-analytic
GIT
GIThttps://github.com/OCA/account-analytic.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-analytic/tree/18.0/account_analytic_distribution_manual
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSCarlos Lopez, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-analytic
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 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 field Inherits analytic.view_account_analytic_line_form
view_account_analytic_line_tree account.analytic.line.list account.analytic.line field Inherits analytic.view_account_analytic_line_tree
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.
REPOSITORY
REPOSITORYOCA/account-analytic
GIT
GIThttps://github.com/OCA/account-analytic.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-analytic/tree/17.0/account_analytic_distribution_manual
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, bobrador
WEBSITE
WEBSITEhttps://github.com/OCA/account-analytic
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 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.tree account.analytic.distribution.manual tree New
view_account_analytic_line_form account.analytic.line.form account.analytic.line field Inherits analytic.view_account_analytic_line_form
view_account_analytic_line_tree account.analytic.line.tree account.analytic.line field Inherits analytic.view_account_analytic_line_tree
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(self, default=None)
    @api.returns('self', <expr>)

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 tree/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.
REPOSITORY
REPOSITORYOCA/account-analytic
GIT
GIThttps://github.com/OCA/account-analytic.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-analytic/tree/16.0/account_analytic_distribution_manual
VERSION
VERSION 2.5.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSAlexis de Lattre, Carlos Lopez, Víctor Martínez, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-analytic
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:49
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

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.tree account.analytic.distribution.manual tree New
view_account_analytic_line_form account.analytic.line.form account.analytic.line field Inherits analytic.view_account_analytic_line_form
view_account_analytic_line_tree account.analytic.line.tree account.analytic.line field Inherits analytic.view_account_analytic_line_tree
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(self, default=None)
    @api.returns('self', <expr>)

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
    readonly=True 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 tree/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.