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:
119eef1
)
[IMP] website: remove __stack__ of the view, because it's an unsafe attribute (removed)
author
Christophe Matthieu
<chm@openerp.com>
Thu, 10 Oct 2013 11:36:59 +0000
(13:36 +0200)
committer
Christophe Matthieu
<chm@openerp.com>
Thu, 10 Oct 2013 11:36:59 +0000
(13:36 +0200)
bzr revid: chm@openerp.com-
20131010113659
-qfxtn3tidsh8mdvk
addons/website/views/views.xml
patch
|
blob
|
history
diff --git
a/addons/website/views/views.xml
b/addons/website/views/views.xml
index
37172b6
..
cb0be35
100644
(file)
--- a/
addons/website/views/views.xml
+++ b/
addons/website/views/views.xml
@@
-15,7
+15,7
@@
<!DOCTYPE html>
<html t-att-lang="lang.replace('_', '-')"
t-att-data-translatable="'1' if translatable else None"
- t-att-data-view-xmlid="str(__stack__[0]) if editable else None">
+ t-att-data-view-xmlid="xmlid if editable else None">
<head>
<title><t t-esc="title or res_company.name"/></title>
<meta name="openerp.company" t-att-value="res_company.name" />