[REF] Force view_id from web_calendar open_popup to int
bzr revid: jke@openerp.com-20140128102742-x93t8rdsjnhnni3k
This commit is contained in:
parent
9f8bd865dc
commit
a4e801aa5f
|
@ -815,9 +815,10 @@ openerp.web_calendar = function(instance) {
|
|||
var self = this;
|
||||
|
||||
var pop = new instance.web.form.FormOpenPopup(this);
|
||||
console.log(this.open_popup_action, +this.open_popup_action);
|
||||
pop.show_element(this.dataset.model, id, this.dataset.get_context(), {
|
||||
title: _.str.sprintf(_t("View: %s"),title),
|
||||
view_id: this.open_popup_action,
|
||||
view_id: +this.open_popup_action,
|
||||
res_id: id,
|
||||
target: 'new',
|
||||
readonly:true
|
||||
|
|
Loading…
Reference in New Issue