Skip to main content

Assign overhead costs to activities, using Analytic Items

Project description

Alpha License: AGPL-3 OCA/account-analytic Translate me on Weblate Try me on Runboat

With Activity Based Costing (ABC), costs are generated by activities.

Activities generating costs are represented as Analytic Items. For example, a timesheet entry could be an activity. Other activities could be captured to be stored in Odoo as Analytic Items.

These activity Analytic Items will automatically generate additional Analytic Items for the costs driven this activity. For example, a machine operating time could drive consumptions of Labor and Overhead.

The cost drivers are regular non-storable Products, with an additional definition of the costs they drive.

Table of contents

Usage

When creating Analytic Items for a cost driver Product, the corresponding Analytic Items for driven cost are generated.

  • When an Analytic Item is created, an automatic process checks the Activity Based Cost Rules to identify the ones that apply.

  • Each rule creates a new Analytic Item for the driven costs, as a copy of the original one, with:

    • Product: set to rule’s Cost Type Product. A validation error prevents this from being the same as the source Analytic Item Product, to avoid infinite loops.

    • Cost Quantity: is the original quantity multiplied by the rule’s Factor

    • Cost Amount: is -1 * Quantity * Product Unit Cost

    • Parent Analytic Item (new field): set with a link to the original Analytic Item

    • Quantity: zero, to avoid duplication

    • Amount: zero, to avoid duplication

    • Project and Task: if present, are reset, to avoid representing the driven costs as timesheet lines.

An update on the original Quantity triggers a recalculation of the quantity and amount of the child Analytic Items.

A delete cascades to the child Analytic Items, causing them to also be deleted.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Open Source Integrators

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

dreispt

This module is part of the OCA/account-analytic project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page