Odoo 19 · 20Manufacturing$49

SPC Cpk Analytics

Control charts and process capability for Odoo Quality: individuals and moving range charts, Cp and Cpk against your spec limits, and the points that fall beyond the control limits

Request a live demo · Odoo.sh or On-Premise only, not Odoo Online (SaaS).

2

measurements are the least that gets a chart and numbers; with fewer the panel says so

3

charts per control point: individuals, moving range and a histogram against the spec limits

1

signal rule: a point beyond a control limit. A run on one side of the centre line is not flagged

14

automated tests in the app, none failing (5 of them pin the limits listed below)

0.19 s

to compute and return the chart data of 20,000 checks on one point

Not

run on Odoo's real Quality app: every screen here ran on a stand-in for it

Odoo's Quality checks tell you whether one measurement passed. They do not tell you whether the process behind them stays inside the tolerance. SPC Cpk Analytics reads the measurements already recorded on a Quality Control Point and shows sample size, mean, standard deviation, Cp and Cpk, an individuals chart and a moving range chart with control limits, and a histogram against the spec limits. No export and no separate data entry. This page walks through it with screenshots of an Odoo 19 database holding made-up machining measurements, with readings from a real run, and with the places where it falls short.

Be clear about one thing before reading on: Odoo's Quality app is Enterprise and was not available for this test. Every screen below ran against a stand-in that supplies only the fields this app reads. The numbers and the charts are the app's own; how the real Quality form looks around them, and how real checks are ordered, was not verified.

Install it and a control point gains one checkbox, Enable SPC/Cpk Analysis. Nothing changes in the menus. It needs Odoo's Quality app (the module depends on quality).

How it works

What it changes, what it keeps, what it does not do

Each line was read in the code or tested.

1 Switch it on for a control point

Use it when a control point measures something with a tolerance and you want to know if the process holds it.Writes the checkbox

Capability is usually worked out in a spreadsheet after exporting the checks, long after the parts have shipped.

On a Quality Control Point, tick Enable SPC/Cpk Analysis . Five numbers appear, worked out from the checks already recorded on that point: sample size, mean, standard deviation, Cp and Cpk, using the point's Tolerance Min as the lower spec limit and Tolerance Max as the upper one. The numbers are computed each time the point is opened and are not stored.

The Control Point form around the SPC group is a minimal stand-in for Odoo's Quality app (Enterprise); the SPC group and the charts are the app's own, on a real Odoo 19 server.

It reads only Tolerance Min and Tolerance Max. A one-sided specification is not supported (see Known limits).

A shaft journal diameter, 18.000 mm with limits 17.95 and 18.05, over 30 checks.

SPC Cpk Analytics: 1 Switch it on for a control point

2 Capability at a glance

Use it when you want one line that says whether the process is capable, marginal or not.Read-only

A pass on today's check says nothing about whether the next hundred will pass.

Above the charts sit five tiles: N, Mean, Std dev, Cp and Cpk. Cpk carries a status: Capable at 1.33 or more, Marginal from 1.0 up to 1.33, Not capable below 1.0. Those cut-offs are fixed; there is no setting for them. Cp is how well the spread would fit the tolerance if the process were centred. Cpk also counts how far the mean sits from the middle.

The numbers are not stored, so there is nothing to search or group by and no history of Cpk over time. All checks of a point are pooled: there is no date range, product or lot filter.

A centred process: Cp 1.78, Cpk 1.70, Capable.

A wall thickness over 28 checks: Cp and Cpk 1.23, Marginal.

A bore diameter that has drifted: Cp 0.78, Cpk 0.54, Not capable.

SPC Cpk Analytics: 2 Capability at a glance
SPC Cpk Analytics: 2 Capability at a glance
SPC Cpk Analytics: 2 Capability at a glance

3 Individuals and moving range charts

Use it when you want to see whether the process is stable, not only whether it passes.Read-only

A list of checks hides drift and jumps that a chart shows at once.

The individuals chart plots one measurement per check, in the order of the point's checks list, with the centre line, the control limits (mean plus and minus 2.66 times the average moving range) and the spec limits. The moving range chart below it plots the difference between consecutive checks with its own upper limit. A red dot is a value outside the spec limits, an amber dot is beyond a control limit while still inside the spec, and the legend names both.

The order is the order of the checks list; the app does not sort by date. The same ten values in two different orders gave the same Cp and Cpk and control limits of 10.108 and 10.321.

Check 23 crosses the upper control limit while still inside the spec: a signal to go and look before anything is scrap.

The moving range chart and the legend.

SPC Cpk Analytics: 3 Individuals and moving range charts
SPC Cpk Analytics: 3 Individuals and moving range charts

4 Capability histogram

Use it when you want to see the spread against the tolerance, not only the index.Read-only

Two processes with the same mean can fill the tolerance very differently.

The histogram groups the measurements into 14 bins between the spec limits, with the limits marked, the area outside them shaded and a fitted normal curve drawn from the mean and standard deviation.

The curve is a normal curve drawn from the mean and deviation; the app does not test whether the data are normal.

The 30 shaft journal checks against the limits, with the fitted curve.

SPC Cpk Analytics: 4 Capability histogram

5 A process that drifts

Use it when a process creeps toward a limit and you want to see it before parts fail.Read-only

A drifting process passes its checks right up to the first failure.

This bore diameter rises over 26 checks. The last two checks are above the upper spec limit and are drawn red. Cp 0.78 against Cpk 0.54 tells the same story as a pair of numbers: the spread would nearly fit, the centring does not.

Two checks above the upper spec limit. The labels for the lower spec limit and lower control limit overlap, and the moving range axis shows a small negative tick: both are cosmetic.

SPC Cpk Analytics: 5 A process that drifts

6 What counts as a signal

Use it when you rely on the chart to tell you a process has shifted.Read-only

A chart that flags only one kind of signal can look calm while the process has moved.

The only rule is a point beyond a control limit. In this tool length series the whole process stepped up by 0.018 mm at check 13, so checks 13 to 24 all sit above the centre line. That run is not flagged. The three amber points (checks 3, 16 and 24) are single points that happen to cross a limit.

There are no run, trend or zone rules.

A step of 0.018 mm after check 12. The step is visible to the eye and not marked by the chart.

SPC Cpk Analytics: 6 What counts as a signal

7 Too few measurements

Use it when a new control point has one check so far.Read-only

Numbers from a single measurement would be meaningless.

With fewer than two usable measurements the charts are replaced by a message. Sample Size shows 1, the mean is that one value, and Cp and Cpk read 0.

A point with one check.

SPC Cpk Analytics: 7 Too few measurements

8 The numbers in the edge cases

Use it when you want to know when not to trust a number.Real readings

A capability index that looks fine for the wrong reason is worse than none.

These are readings from a real run on made-up measurements. The first row is checked against a hand calculation and agrees. The red rows are results to know about: a missing spec limit is read as 0, identical measurements read as zero capability, and Cp uses the overall spread.

Eight cases, each read back from the app. A table rather than a screen, because these are readings, not a view.

SPC Cpk Analytics: 8 The numbers in the edge cases

9 The chart does not refresh while the form is open

Use it when you tick the box on a point, or add checks, without leaving the form.Read-only

Seeing an old message next to new numbers looks like a fault.

The chart loads once, when it appears. After ticking Enable and saving, the numbers above updated, but the message below still said to enable the analysis. Reopening the record shows the chart. Checks added while a form is open are not picked up until it is reopened either.

Saved with the box ticked: the numbers refreshed, the chart area did not.

SPC Cpk Analytics: 9 The chart does not refresh while the form is open

What it does not do

  • These were read in the code or measured in the test run. None of them is fixed in this version; the three display repairs that were made are listed under Odoo 19 and Odoo 20.

Questions buyers ask

What does SPC Cpk Analytics do?

It adds sample size, mean, standard deviation, Cp and Cpk, an individuals chart, a moving range chart and a capability histogram to a Quality Control Point, computed from the checks already recorded on it.

What do I need to set up?

Tick Enable SPC/Cpk Analysis on a control point that has Measure-type checks with measurements and both Tolerance Min and Tolerance Max filled in.

Which measurements are used?

Checks of the Measure type that are not still To Do. A Failed check counts and a reading of exactly 0 counts as 0. All checks of the point are used, with no date or product filter.

What happens if I fill in only one tolerance limit?

An empty limit is read as 0. With only the upper limit typed, Cp became meaningless (29.08 in the test); with only the lower limit typed, Cp and Cpk read 0.00. There is no one-sided index.

Are Cp and Cpk short-term or overall?

Overall: they use the sample standard deviation of every measurement on the point, which many references call Pp and Ppk. The control limits use the moving range.

Does it flag every out-of-control signal?

No. It marks points beyond a control limit (amber) and points outside the spec (red). Runs on one side of the centre line and trends are not flagged.

What happens to my data if I uninstall it?

Every control point and check stays as it was. The app removes its one checkbox column and its form view.

Does it work with Odoo Community, Enterprise, Odoo.sh or Odoo Online?

It needs Odoo's Quality app, which is Enterprise. Third-party apps cannot be installed on Odoo Online. The tests ran on Odoo 19 Community with a stand-in for Quality; Odoo's real Quality app and Odoo.sh are not verified.

Requirements

  • Odoo 19.0 or 20.0. The App Store sells each version separately, so buy the one that matches your database.
  • Odoo.sh or On-Premise only. Third-party apps cannot be installed on Odoo Online (SaaS) databases. Check your hosting before buying.
  • Module mh_spc_cpk_analytics, version 19.0.1.0.15, licensed OPL-1.