diff options
| author | jke-openerp <jke@openerp.com> | 2014-01-28 11:27:42 +0100 |
|---|---|---|
| committer | jke-openerp <jke@openerp.com> | 2014-01-28 11:27:42 +0100 |
| commit | a4e801aa5f71c0540b2af92c4bb4a4b13f7fdab2 (patch) | |
| tree | 90c1a7e4c1fe153937a5c34deba52165e72d940b /addons | |
| parent | 9f8bd865dc313339474db4ca0806f02f6e63039f (diff) | |
[REF] Force view_id from web_calendar open_popup to int
bzr revid: jke@openerp.com-20140128102742-x93t8rdsjnhnni3k
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/web_calendar/static/src/js/web_calendar.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web_calendar/static/src/js/web_calendar.js b/addons/web_calendar/static/src/js/web_calendar.js index 59dfce5ea52..b283f8b5cb1 100644 --- a/addons/web_calendar/static/src/js/web_calendar.js +++ b/addons/web_calendar/static/src/js/web_calendar.js @@ -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 |
