Skip to content

CookiesWe use the cookies the site needs to work. Analytics and marketing only turn on with your permission. Privacy policy

My choices
What stays on

Your choice lasts 12 months. To change it, open “Cookies” in the footer.

IntData
IntData · https://intdata.com.br/en/metrics/turnover-by-brand · November 30, 2026

Turnover by brand

Which brands are moving, which are stuck, and how much of each should I buy?

Verified Metric version 1.1.0

What it is

For each brand: actual outgoing quantity in the period (done moves from an internal location to a customer), the monthly average, today's stock in internal locations and how many months it covers. Classes: zeroed (no stock), stuck (stock with no outgoing move), slow (covers more than 6 months), moving (the rest). Purchase suggestion: each product's average times N months, minus its stock. Value = accounting valuation of the brands' stock.

What it is not

  • It is not invoiced sales: it is what left stock for the customer, invoiced or not.
  • It is not a demand forecast: the suggestion repeats the period average, with no seasonality.
  • It is not accounting turnover (cost of sales ÷ average stock): it is coverage in months, which tells you when to buy.

Pitfalls this metric handles

The traps a hasty calculation falls into — and how this metric avoids each one.

Brand by field name

The mistake
Looking for a field called 'brand' on the product.
Why it happens
Each database keeps the brand in a different field (x_studio_marca, x_brand, a category). Guessing by name fails silently.
How we handle it
Use only the field the customer confirmed as 'brand' on the connection. Without a confirmed field, everything is 'no brand' and the screen says so.

Product without a brand

The mistake
Leaving out, or lumping into 'no brand', a product whose field is empty.
Why it happens
A product with no brand on file drops out of the brand's turnover and the suggested purchase comes out smaller.
How we handle it
Fallback by EAN prefix (789 + manufacturer): the prefix the brand's other products use. The number of products found this way shows in an alert.
Evidence from a real database
Survey of Oct 23, 2026 in the collection: 49 products of one brand had the brand field empty.

Incoming counted as turnover

The mistake
Adding every done move of the product.
Why it happens
Purchases, transfers between locations and inventory adjustments are not sales.
How we handle it
Count only moves from an internal location to a customer-type location.

Negative stock

The mistake
Using a negative balance as is, or as zero, without saying anything.
Why it happens
A negative balance is a write-off that was never posted (sold with no recorded receipt). It reduces the brand's stock and hides the need to buy.
How we handle it
Count negatives as zero in coverage and suggestion, and warn how many products and units are negative.

Where the number comes from

Audit trail

Odoo model
stock.move + stock.quant
Fields
stock.move.quantity, stock.move.date, stock.move.state, stock.move.location_id.usage, stock.move.location_dest_id.usage, stock.quant.quantity, stock.quant.value, stock.quant.location_id.usage, product.product.barcode, product.product.<campo de marca confirmado>
Why this path
Actual outgoing stock is the done stock move to the customer: it captures counter, order and marketplace sales, invoiced or not. stock.quant gives the balance and the value accounting uses.

How you can adjust it

ParameterWhat it doesOptions
Companies company ids, always explicit —
Period {from, to}: outgoing window (local date); without a period, the last 180 days —
Months to buy for how many months to suggest purchases for —
Filters narrow down by categories or products (lists of ids; a category includes its children) or codes (the codes the person gave — reference, variant, barcode, vendor code or name — matched by the engine) categories, products, and codes
Group by list row: the brand or the product brand and product
Sort by order of the rows amount, months of coverage, and purchase suggestion
Items listed how many rows to list per company; the total always covers the whole set —

Validation

To be validated on a real database. The method comes from a script that already ran in a customer's operation, and the calculation passes the automated tests against the demo database. IntData has not yet checked it on a real database; until then, check the first result in Odoo using the path in the audit trail.

Date
October 24, 2026
Checked against
Method from the Oct 23, 2026 turnover artifact and CSV survey in the collection, tested against the demo database. To be validated on a real database.
Expected Odoo versions
14.0, 16.0, 17.0, 18.0, 19.0, 20.0, saas~19.2+e, saas~19.3+e
Note
Does not use read_group. The brand depends on the field confirmed on the connection (Connections > Custom fields). On Community 14 and 16 to 20, reading the stock value (stock.quant.value) requires the "Inventory / Administrator" group on the connection user.

Need a variation of this metric, or another one that does not exist yet?