From 9d6534c1fdbc39e62da5c10970fa10e2ddf3003b Mon Sep 17 00:00:00 2001 From: tarteo Date: Fri, 8 Jul 2016 16:08:31 +0200 Subject: [PATCH] [MIG] Added monetary field to measurable types --- bi_view_editor/static/src/js/bve.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bi_view_editor/static/src/js/bve.js b/bi_view_editor/static/src/js/bve.js index c5bbfa22..c1a9dd0f 100644 --- a/bi_view_editor/static/src/js/bve.js +++ b/bi_view_editor/static/src/js/bve.js @@ -239,7 +239,7 @@ openerp.bi_view_editor = function (instance, local) { else contextMenu.find('#measure-checkbox').attr('checked', false); - if(currentFieldData.type == "float" || currentFieldData.type == "integer") { + if(currentFieldData.type == "float" || currentFieldData.type == "integer" || currentFieldData.type == "monetary") { contextMenu.find('#column-checkbox').attr('disabled', true); contextMenu.find('#row-checkbox').attr('disabled', true); contextMenu.find('#measure-checkbox').attr('disabled', false);