Analytic Activity Based Cost

analytic_activity_based_cost
REPOSITORY
REPOSITORYOCA/account-analytic
GIT
GIThttps://github.com/OCA/account-analytic.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-analytic/tree/14.0/analytic_activity_based_cost
VERSION
VERSION 4.1.0
CATEGORY
CATEGORYAccounting/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Open Source Integrators
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Open Source Integrators
COMMITTERS
COMMITTERSGitHub, Daniel Reis, OCA Transbot, oca-travis, Weblate, OCA-git-bot, oca-ci, Chandresh Thakkar, Wesley Oliveira, RLeeOSI
WEBSITE
WEBSITEhttps://github.com/OCA/account-analytic
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:02
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 (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 xpath Inherits account.view_account_analytic_line_form_inherit_account
view_analytic_line_tree Analytic Line Tree: add ABC account.analytic.line field 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 div Inherits product.product_normal_form_view
view_tree_activity_cost_rule view.tree.activity.cost.rule activity.cost.rule tree New
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