[IMP] website: remove __stack__ of the view, because it's an unsafe attribute (removed)
authorChristophe Matthieu <chm@openerp.com>
Thu, 10 Oct 2013 11:36:59 +0000 (13:36 +0200)
committerChristophe 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

index 37172b6..cb0be35 100644 (file)
@@ -15,7 +15,7 @@
                 &lt;!DOCTYPE html&gt;
                 <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" />