summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/views/graph_tests.js
diff options
context:
space:
mode:
authorMathieu Duckerts-Antoine <dam@odoo.com>2019-09-20 09:07:48 +0000
committerMathieu Duckerts-Antoine <dam@odoo.com>2019-09-20 09:23:24 +0000
commit149d2a3d60e9915632d4fa51b92ac658a8beeea2 (patch)
tree2e86c6b75e4f078aff965f9e89a31467e0fe6d3a /addons/web/static/tests/views/graph_tests.js
parentd0c1db764c13226d2022c48b8a8336618bef9b83 (diff)
[FIX] web: always show the graph view button "Stacked"
With the actual code, some computations are done in the graph renderer to determine if it is worth to show the "Stacked" button in the graph view control panel for the data on hand. It turns out that that problem is not satisfactorily addressed and is quite hard from a usability perspective. We prefer to restore the old behavior as long as we don't have better ideas. closes odoo/odoo#37188 Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/tests/views/graph_tests.js')
-rw-r--r--addons/web/static/tests/views/graph_tests.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/tests/views/graph_tests.js b/addons/web/static/tests/views/graph_tests.js
index 7cbab784829..d44d2e61a81 100644
--- a/addons/web/static/tests/views/graph_tests.js
+++ b/addons/web/static/tests/views/graph_tests.js
@@ -133,7 +133,7 @@ QUnit.module('Views', {
data: [3,5],
label: "Count",
originIndex: 0,
- stack: undefined,
+ stack: "",
}
);
assert.checkLegend(graph, 'Count');