[MIG] Added monetary field to measurable types

This commit is contained in:
tarteo
2016-07-08 16:08:31 +02:00
committed by Andrea
parent 496a08cdb2
commit 9d6534c1fd

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