summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/pivot/pivot_controller.js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-03-07 18:46:38 +0100
committerChristophe Simonis <chs@odoo.com>2018-03-07 18:46:38 +0100
commit4aa5ec3fa511e42a08318fe66dde3bd57f0d1f09 (patch)
treed3de91d0113164ce313d7eff44c2f25c7e95f743 /addons/web/static/src/js/views/pivot/pivot_controller.js
parent3c821d4035d0c85f691653c47986d8f4c3dfc51d (diff)
parentd67b410dfcd67d2540628d4f6be0daf8861c4a46 (diff)
[MERGE] forward port branch 11.0 up to d67b410dfcd
Diffstat (limited to 'addons/web/static/src/js/views/pivot/pivot_controller.js')
-rw-r--r--addons/web/static/src/js/views/pivot/pivot_controller.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/js/views/pivot/pivot_controller.js b/addons/web/static/src/js/views/pivot/pivot_controller.js
index 731183e7efe..5f31c7103c7 100644
--- a/addons/web/static/src/js/views/pivot/pivot_controller.js
+++ b/addons/web/static/src/js/views/pivot/pivot_controller.js
@@ -126,6 +126,7 @@ var PivotController = AbstractController.extend({
var table = this.model.exportData();
if(table.measure_row.length + 1 > 256) {
crash_manager.show_message(_t("For Excel compatibility, data cannot be exported if there are more than 256 columns.\n\nTip: try to flip axis, filter further or reduce the number of measures."));
+ framework.unblockUI();
return;
}
framework.blockUI();