Skip to Content
osloop_sales_base

Sales Analytics Base

A shared layer for the OSLOOP sales analytics modules: company settings, three access groups and one single engine that calculates gross, returns and net sales.

  • Odoo 19
  • Sales
  • 19.0.1.2.8
1

Overview

When every sales report calculates net sales in its own way, the figures never match between screens. This module solves that by providing one parametrised calculation engine for gross sales, returns and net sales, which the dashboards and reports call instead of re-implementing the logic. It adds a Sales Analytics settings block per company where you choose the net sales basis (posted invoices or deliveries), the source of the supplier of a product, an optional territory root tag, the number of days after which a customer is inactive, and the discount accounts. It also marks each sales team as internal or external and adds three analytics groups (own sales, team lead, manager) that are enforced on the server. It is a technical foundation installed automatically with the OSLOOP sales analytics modules.

2

Usage steps

  1. 1

    Open the Sales Analytics menu

    A top-level Sales Analytics menu appears for users in the analytics groups, independent of the Sales app. Other OSLOOP analytics modules add their screens under it.

    • Visible only to the analytics groups
    • Works without the Sales administrator group
  2. 2

    Choose the net sales basis

    Sales Analytics > Settings (system administrators), block Definitions, setting Net sales basis: posted invoices (default) or deliveries.

    • Every report displays the basis in use
    • Delivery basis counts only stock moves linked to a sale order line
  3. 3

    Set the supplier source and territories

    In the same settings block set Supplier source (first vendor or a product field), Supplier reference field, and the optional Territory root tag whose child tags are the territories.

    • Leave the tag empty to use every customer tag
    • The reference field accepts single-value product fields only
  4. 4

    Define inactivity and discount accounts

    Set Inactive customer after (days) and Discount accounts. Invoice and credit note lines posted to those accounts are counted as discount in the analytics.

    • Discount product lines and line discounts are counted as well
    • Settings are kept per company
  5. 5

    Classify sales teams and grant access

    On the sales team form set the Internal / External kind, then add users to Analytics: Own Sales, Team Lead or Manager.

    • The groups are an explicit, company-limited grant to aggregated figures
    • They bypass document record rules, so grant them with care
4

Roles

Benefiting roles
Role
System administrator
Sales manager
Team lead
Salesperson
5

Dependencies

  • base
  • account
  • sales_team
  • sale_stock

Want to know more or try this app? Contact us

A shared layer for the OSLOOP sales analytics modules: company settings, three access groups and one single engine that calculates gross, returns and net sales.

Contact us