diff --git a/web_pivot_computed_measure/static/src/pivot/pivot_renderer.esm.js b/web_pivot_computed_measure/static/src/pivot/pivot_renderer.esm.js index d3a0e9c7b..ab5f9b0f0 100644 --- a/web_pivot_computed_measure/static/src/pivot/pivot_renderer.esm.js +++ b/web_pivot_computed_measure/static/src/pivot/pivot_renderer.esm.js @@ -7,7 +7,7 @@ import {patch} from "web.utils"; patch(PivotRenderer.prototype, "web_pivot_computed_measure.PivotRenderer", { getFormattedValue(cell) { - if (cell.value === Infinity) { + if (Math.abs(cell.value) === Infinity) { return "-"; } return this._super(...arguments);