3
0
Fork 0

Merge PR #2784 into 15.0

Signed-off-by pedrobaeza
15.0-ocabot-merge-pr-2789-by-pedrobaeza-bump-patch
OCA-git-bot 2024-03-27 09:19:32 +00:00
commit 4192fade62
1 changed files with 1 additions and 1 deletions

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