[MIG] Added monetary field to measurable types

pull/59/head
tarteo 2016-07-08 16:08:31 +02:00 committed by Andrea
parent 496a08cdb2
commit 9d6534c1fd
1 changed files with 1 additions and 1 deletions

View File

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