Skip to content
Health
62/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 21 months ago
  • Required by20/25
    2 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 14.0

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
AGPL-3
No conflicts with its dependencies
Folder size
0.1 MB
Module directory on disk
Code analysis 3 migration notes 3 models 7 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
account_analytic_wip, mrp_analytic_cost

Code analysis

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

Views touched 7

XML IDNameModelTypeStatus
product_search_form_view product.product.search.cost.type product.product search Inherits product.product_search_form_view
view_analytic_line_filter Analytic Line Filter: add ABC account.analytic.line search Inherits analytic.view_account_analytic_line_filter
view_analytic_line_form Analytic Line Form: add ABC account.analytic.line form Inherits account.view_account_analytic_line_form_inherit_account
view_analytic_line_tree Analytic Line Tree: add ABC account.analytic.line tree Inherits analytic.view_account_analytic_line_tree
view_form_activity_cost_rule view.form.activity.cost.rule activity.cost.rule form New
view_product_template_form Product Variant: add Activity Costs product.product form Inherits product.product_normal_form_view
view_tree_activity_cost_rule view.tree.activity.cost.rule activity.cost.rule tree New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (5)
  • activity_cost_id Many2one → activity.cost.rule
    args: 'activity.cost.rule', 'Activity Cost Rule'
  • amount_abcost Monetary
    compute='_compute_amount_abcost' help='Amount on child Analytic Items, rolled up to the parent' store=True args: 'Breakdown Amount'
  • child_ids One2many → account.analytic.line
    string='Related Analytic Items' args: 'account.analytic.line', 'parent_id'
  • parent_id Many2one → account.analytic.line
    ondelete='cascade' args: 'account.analytic.line', 'Parent Analytic Item'
  • unit_abcost Float
    compute='_compute_unit_abcost' help='Quantity set on child Analytic Items, rolled up to the parent' store=True args: 'Breakdown Quantity'
Public methods (1)
  • create(self, vals)
    @api.model

New fields (6)
  • active Boolean
    default=True
  • factor Float
    default=1 args: 'Qty. Factor'
  • name Char
    args: 'Description'
  • parent_id Many2one → product.product
    ondelete='cascade' args: 'product.product', 'Activity Product'
  • product_id Many2one → product.product
    required=True string='Cost Product' args: 'product.product'
  • standard_price Float
    readonly=False related='product_id.standard_price'
Public methods (1)
  • create(self, vals)
    @api.model

New fields (2)
  • activity_cost_ids One2many → activity.cost.rule
    help='This product will also generate analytic items for these Activity Costs' string='Activity Costs' args: 'activity.cost.rule', 'parent_id'
  • is_cost_type Boolean
    string='Is Cost Driver'
Public methods (2)
  • constrains_is_cost_type(self)
    @api.constrains('is_cost_type', 'activity_cost_ids')
  • onchange_for_standard_price(self)
    @api.onchange('activity_cost_ids')
    Rollup Activity Costs to parent Cost Type