Skip to content
Health
70/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 55 months ago
  • Required by20/25
    2 modules depend on it
  • Maturity25/25
    In 8 Odoo series since 6.1

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

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

Description

Set default values for your analytic accounts.

Allows to automatically select analytic accounts based on criterions:

* Product
* Partner
* User
* Company
* Date

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
account_analytic_default_hr_expense, account_analytic_default_purchase

Code analysis

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

Views touched 5

XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit.account.analytic.default res.config.settings form Inherits account.res_config_settings_view_form
view_account_analytic_default_form account.analytic.default.form account.analytic.default form New
view_account_analytic_default_form_search account.analytic.default.search account.analytic.default search New
view_account_analytic_default_kanban account.analytic.default.kanban account.analytic.default kanban New
view_account_analytic_default_tree account.analytic.default.tree account.analytic.default tree New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (10)
  • account_id Many2one → account.account
    help='Select an accounting account which will use analytic account specified in analytic default (e.g. create new customer invoice or Sales order if we select this account, it will automatically take this as an analytic account)' ondelete='cascade' string='Account' args: 'account.account'
  • analytic_id Many2one → account.analytic.account
    string='Analytic Account' args: 'account.analytic.account'
  • analytic_tag_ids Many2many → account.analytic.tag
    string='Analytic Tags' args: 'account.analytic.tag'
  • company_id Many2one → res.company
    help='Select a company which will use analytic account specified in analytic default (e.g. create new customer invoice or Sales order if we select this company, it will automatically take this as an analytic account)' ondelete='cascade' string='Company' args: 'res.company'
  • date_start Date
    help='Default start date for this Analytic Account.' string='Start Date'
  • date_stop Date
    help='Default end date for this Analytic Account.' string='End Date'
  • partner_id Many2one → res.partner
    help='Select a partner which will use analytic account specified in analytic default (e.g. create new customer invoice or Sales order if we select this partner, it will automatically take this as an analytic account)' ondelete='cascade' string='Partner' args: 'res.partner'
  • product_id Many2one → product.product
    help='Select a product which will use analytic account specified in analytic default (e.g. create new customer invoice or Sales order if we select this product, it will automatically take this as an analytic account)' ondelete='cascade' string='Product' args: 'product.product'
  • sequence Integer
    help='Gives the sequence order when displaying a list of analytic distribution' string='Sequence'
  • user_id Many2one → res.users
    help='Select a user which will use analytic account specified in analytic default.' ondelete='cascade' string='User' args: 'res.users'
Public methods (1)
  • account_get(self, product_id=None, partner_id=None, account_id=None, user_id=None, date=None, company_id=None)
    @api.model

New fields (2)
  • analytic_account_id Many2one
    compute='_compute_analytic_account' copy=True readonly=False store=True
  • analytic_tag_ids Many2many
    compute='_compute_analytic_account' copy=True readonly=False store=True
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…