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 ab5f9b0f0..ab1fa8013 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 @@ -12,4 +12,10 @@ patch(PivotRenderer.prototype, "web_pivot_computed_measure.PivotRenderer", { } return this._super(...arguments); }, + getFormattedVariation(cell) { + if (Math.abs(cell.value) === Infinity) { + return "-"; + } + return this._super(...arguments); + }, });