Metadata-Version: 2.1
Name: odoo14-addon-analytic_activity_based_cost
Version: 14.0.4.1.0
Summary: Assign overhead costs to activities, using Analytic Items
Home-page: https://github.com/OCA/account-analytic
Author: Open Source Integrators, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
License: AGPL-3
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 14.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Development Status :: 3 - Alpha
Requires-Python: >=3.6
Requires-Dist: odoo<14.1dev,>=14.0a

============================
Analytic Activity Based Cost
============================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:4233456f15a479f69465c20b8b8a58b50d59066a311df14847ef91b298ea0878
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
    :target: https://odoo-community.org/page/development-status
    :alt: Alpha
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--analytic-lightgray.png?logo=github
    :target: https://github.com/OCA/account-analytic/tree/14.0/analytic_activity_based_cost
    :alt: OCA/account-analytic
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/account-analytic-14-0/account-analytic-14-0-analytic_activity_based_cost
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/account-analytic&target_branch=14.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

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.

.. IMPORTANT::
   This is an alpha version, the data model and design can change at any time without warning.
   Only for development or testing purpose, do not use in production.
   `More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
   :local:

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 <https://github.com/OCA/account-analytic/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 <https://github.com/OCA/account-analytic/issues/new?body=module:%20analytic_activity_based_cost%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~

* Open Source Integrators

Contributors
~~~~~~~~~~~~

* `Open Source Integrators <https://opensourceintegrators.com>`:

  * Daniel Reis <dreis@opensourceintegrators.com>
  * Chandresh Thakkar <cthakkar@opensourceintegrators.com>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

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.

.. |maintainer-dreispt| image:: https://github.com/dreispt.png?size=40px
    :target: https://github.com/dreispt
    :alt: dreispt

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-dreispt| 

This module is part of the `OCA/account-analytic <https://github.com/OCA/account-analytic/tree/14.0/analytic_activity_based_cost>`_ project on GitHub.

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