[FIX] custom fields: make the flag 'translate' visible for html fields

opw:678921
This commit is contained in:
Raphael Collet
2016-06-02 11:24:02 +02:00
parent 50eb591bbd
commit fa8abe6aed
+4 -4
View File
@@ -62,8 +62,8 @@
<page name="base" string="Base Properties">
<group>
<field name="translate"
attrs="{'readonly': [('ttype','not in',['char','text'])],
'invisible': [('ttype','not in',['char','text'])]}"/>
attrs="{'readonly': [('ttype','not in',['char','text','html'])],
'invisible': [('ttype','not in',['char','text','html'])]}"/>
<field name="selection"
attrs="{'required': [('ttype','in',['selection','reference'])],
'readonly': [('ttype','not in',['selection','reference'])],
@@ -225,8 +225,8 @@
<page name="base" string="Base Properties">
<group>
<field name="translate"
attrs="{'readonly': [('ttype','not in',['char','text'])],
'invisible': [('ttype','not in',['char','text'])]}"/>
attrs="{'readonly': [('ttype','not in',['char','text','html'])],
'invisible': [('ttype','not in',['char','text','html'])]}"/>
<field name="selection"
attrs="{'required': [('ttype','in',['selection','reference'])],
'readonly': [('ttype','not in',['selection','reference'])],