Merge PR #2784 into 15.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2024-03-27 09:19:32 +00:00

View File

@@ -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);