} else {
promise = this.dataset.read_index(_.keys(this.fields_view.fields)).pipe(this.on_record_loaded);
}
} else {
promise = this.dataset.read_index(_.keys(this.fields_view.fields)).pipe(this.on_record_loaded);
}
if (this.sidebar) {
this.sidebar.$element.show();
}
return promise;
},
do_hide: function () {
if (this.sidebar) {
this.sidebar.$element.show();
}
return promise;
},
do_hide: function () {
if (this.sidebar) {
this.sidebar.$element.hide();
}
if (this.sidebar) {
this.sidebar.$element.hide();
}
}, this));
},
do_show: function () {
}, this));
},
do_show: function () {
if (this.sidebar) {
this.sidebar.$element.show();
}
},
do_hide: function () {
if (this.sidebar) {
this.sidebar.$element.show();
}
},
do_hide: function () {
if (this.sidebar) {
this.sidebar.$element.hide();
}
if (this.sidebar) {
this.sidebar.$element.hide();
}
this.embedded_view = embedded_view;
this.options.sidebar = false;
},
this.embedded_view = embedded_view;
this.options.sidebar = false;
},
+ do_show: function () {
+ this.$element.show();
+ },
+ do_hide: function () {
+ this.$element.hide();
+ },
/**
* Switches to a specific view type
*
* @param {String} view view type to switch to
*/
/**
* Switches to a specific view type
*
* @param {String} view view type to switch to
*/
- do_switch_view: function(view) { },
+ do_switch_view: function(view) {
+ },
/**
* Cancels the switch to the current view, switches to the previous one
*/
/**
* Cancels the switch to the current view, switches to the previous one
*/
- do_prev_view: function () { },
+ do_prev_view: function () {
+ },
do_search: function(view) {
},
do_search: function(view) {
},
set_common_sidebar_sections: function(sidebar) {
sidebar.add_default_sections();
},
set_common_sidebar_sections: function(sidebar) {
sidebar.add_default_sections();
},
sidebar_context: function () {
return $.Deferred().resolve({}).promise();
},
sidebar_context: function () {
return $.Deferred().resolve({}).promise();
},
do_push_state: function(state, overwrite) {
},
do_push_state: function(state, overwrite) {
},
do_load_state: function(state) {
}
});
do_load_state: function(state) {
}
});
});
},
do_hide: function () {
});
},
do_hide: function () {
if (this.sidebar) {
this.sidebar.$element.hide();
}
if (this.sidebar) {
this.sidebar.$element.hide();
}
}
$pager.find('span.oe_pager_index').html(index);
$pager.find('span.oe_pager_count').html(this.dataset.count);
}
$pager.find('span.oe_pager_index').html(index);
$pager.find('span.oe_pager_count').html(this.dataset.count);
- },
-
- do_show: function () {
- this.$element.show();
- },
-
- do_hide: function () {
- this.$element.hide();
- do_show: function () {
- this.$element.show();
- },
-
- do_hide: function () {
- this.$element.hide();
- },
-
convert_str_date: function (str) {
if (typeof str == 'string') {
if (str.length == 19) {
convert_str_date: function (str) {
if (typeof str == 'string') {
if (str.length == 19) {
- do_show: function () {
- this.$element.show();
- },
- do_hide: function () {
- this.$element.hide();
- },
start: function() {
var self = this;
this._super();
start: function() {
var self = this;
this._super();
- do_show: function () {
- this.$element.show();
- },
- do_hide: function () {
- this.$element.hide();
- },
compute_groups_width: function() {
var unfolded = 0;
_.each(this.groups, function(group) {
compute_groups_width: function() {
var unfolded = 0;
_.each(this.groups, function(group) {