[FIX] even if there is a spoon, there may be no widget.field

bzr revid: xmo@openerp.com-20120209120747-hkf0accbs05gayd7
This commit is contained in:
Xavier Morel 2012-02-09 13:07:47 +01:00
parent c55f68d419
commit 5f9b77de4c
1 changed files with 1 additions and 1 deletions

View File

@ -908,7 +908,7 @@
<span class="oe_tooltip_technical_title">Modifiers:</span>
<t t-esc="widget.node.attrs.modifiers"/>
</li>
<li t-if="widget.field.change_default" data-item="change_default">
<li t-if="widget.field and widget.field.change_default" data-item="change_default">
<span class="oe_tooltip_technical_title">Change default:</span>
Yes
</li>