Skip to content
Snippets Groups Projects
README.rst 11.99 KiB

Analytic Structure

What is it ?

The module provides a way of defining dynamic relationships between objects. We use the following concepts:

  • Dimensions, represented by analytic.dimension
  • Structure, represented by analytic.structure
  • Codes, represented by analytic.code

These objects can be seen in Technical >> Analytics under Settings.

Dimensions act as labels for data points that can be used to perform analyses. Structures define mappings between models and dimensions, they can be configured through the Settings menu. Codes are the objects that are bound to instances of dimension models, they allow us to define dynamic relationships.

Example: Your company has several product lines and you would like to analyse expenses related to these product lines in your accounting system. You would then define a product line dimension and some structures that bind the product line dimension to product.product, invoice.line, account.move.line models.

How does it work ?