[IMP] website: remove __stack__ of the view, because it's an unsafe attribute (removed)

bzr revid: chm@openerp.com-20131010113659-qfxtn3tidsh8mdvk
This commit is contained in:
Christophe Matthieu 2013-10-10 13:36:59 +02:00
parent 119eef1a6b
commit 672a76a002
1 changed files with 1 additions and 1 deletions

View File

@ -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" />