Analytic Activity Based Cost
analytic_activity_based_cost · OCA/account-analytic
Health
62/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 21 months ago
-
Required by20/252 modules depend on it
-
Maturity5/25In 1 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
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
Migration considerations
view_analytic_line_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_product_template_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_tree_activity_cost_rule— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 7
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_idMany2one → activity.cost.ruleargs: 'activity.cost.rule', 'Activity Cost Rule' -
amount_abcostMonetarycompute='_compute_amount_abcost'help='Amount on child Analytic Items, rolled up to the parent'store=True args: 'Breakdown Amount' -
child_idsOne2many → account.analytic.linestring='Related Analytic Items' args: 'account.analytic.line', 'parent_id' -
parent_idMany2one → account.analytic.lineondelete='cascade' args: 'account.analytic.line', 'Parent Analytic Item' -
unit_abcostFloatcompute='_compute_unit_abcost'help='Quantity set on child Analytic Items, rolled up to the parent'store=True args: 'Breakdown Quantity'
-
create(self, vals)@api.model
New fields (6)
-
activeBooleandefault=True -
factorFloatdefault=1 args: 'Qty. Factor' -
nameCharargs: 'Description' -
parent_idMany2one → product.productondelete='cascade' args: 'product.product', 'Activity Product' -
product_idMany2one → product.productrequired=Truestring='Cost Product' args: 'product.product' -
standard_priceFloatreadonly=Falserelated='product_id.standard_price'
-
create(self, vals)@api.model
New fields (2)
-
activity_cost_idsOne2many → activity.cost.rulehelp='This product will also generate analytic items for these Activity Costs'string='Activity Costs' args: 'activity.cost.rule', 'parent_id' -
is_cost_typeBooleanstring='Is Cost Driver'
-
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