projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f01da83
)
[FIX] web_calendar: cast the id into int. When you open a form view in a popup via...
author
Jeremy Kersten
<jke@odoo.com>
Wed, 29 Oct 2014 16:43:44 +0000
(17:43 +0100)
committer
Jeremy Kersten
<jke@odoo.com>
Wed, 29 Oct 2014 16:43:44 +0000
(17:43 +0100)
addons/web_calendar/static/src/js/web_calendar.js
patch
|
blob
|
history
diff --git
a/addons/web_calendar/static/src/js/web_calendar.js
b/addons/web_calendar/static/src/js/web_calendar.js
index
d32cbe4
..
5f90f49
100644
(file)
--- a/
addons/web_calendar/static/src/js/web_calendar.js
+++ b/
addons/web_calendar/static/src/js/web_calendar.js
@@
-855,7
+855,7
@@
openerp.web_calendar = function(instance) {
}
else {
var pop = new instance.web.form.FormOpenPopup(this);
- pop.show_element(this.dataset.model, id, this.dataset.get_context(), {
+ pop.show_element(this.dataset.model, parseInt(id), this.dataset.get_context(), {
title: _.str.sprintf(_t("View: %s"),title),
view_id: +this.open_popup_action,
res_id: id,