Browse Source

[MIG] Added monetary field to measurable types

pull/59/head
tarteo 9 years ago
committed by Andrea
parent
commit
9d6534c1fd
  1. 2
      bi_view_editor/static/src/js/bve.js

2
bi_view_editor/static/src/js/bve.js

@ -239,7 +239,7 @@ openerp.bi_view_editor = function (instance, local) {
else else
contextMenu.find('#measure-checkbox').attr('checked', false); 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('#column-checkbox').attr('disabled', true);
contextMenu.find('#row-checkbox').attr('disabled', true); contextMenu.find('#row-checkbox').attr('disabled', true);
contextMenu.find('#measure-checkbox').attr('disabled', false); contextMenu.find('#measure-checkbox').attr('disabled', false);

Loading…
Cancel
Save