[FIX] base: display the value of ir.property

For the records with type='selection' (example: "Cost Method Property")

Closes #14413
This commit is contained in:
Alexis de Lattre
2016-12-05 16:33:56 +01:00
committed by Martin Trigaux
parent 5a4c548ab1
commit ef8116628b
+1 -1
View File
@@ -34,7 +34,7 @@
<field name="value_integer" string="Value" attrs="{'invisible' : [('type', 'not in', ('integer', 'boolean'))]}"/>
<field name="value_float" string="Value" attrs="{'invisible' : [('type', '!=', 'float')]}"/>
<field name="value_datetime" string="Value" attrs="{'invisible' : [('type', 'not in', ('date', 'datetime'))]}"/>
<field name="value_text" string="Value" attrs="{'invisible' : [('type', 'not in', ('char', 'text'))]}"/>
<field name="value_text" string="Value" attrs="{'invisible' : [('type', 'not in', ('char', 'text', 'selection'))]}"/>
<field name="value_reference" string="Value" attrs="{'invisible' : [('type', '!=', 'many2one')]}"/>
<field name="value_binary" string="Value" attrs="{'invisible' : [('type', '!=', 'binary')]}"/>
</group>