TIP: You can type at any time to perform a new search.
Analytic Activity Based Cost
analytic_activity_based_cost · OCA/account-analytic
- Repository
- OCA/account-analytic · module folder · Try on Runboat
- Module version
- 4.1.0
- Category
- Accounting/Accounting
- Folder size
- 0.1 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-analytic
- Last tracking update
- 2026-08-07 07:47:33
- Authors
- Odoo Community Association (OCA), Open Source Integrators
- Maintainers
- Odoo Community Association (OCA), Open Source Integrators
- Committers
- GitHub, Daniel Reis, Weblate, OCA Transbot, OCA-git-bot, oca-travis, oca-ci, Chandresh Thakkar, Wesley Oliveira, RLeeOSI
Code Analysis ⓘ
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