Add icon attribute on fields

review587005
This commit is contained in:
Cédric Krier
2012-11-23 17:49:33 +01:00
parent 220c31651d
commit b704f375d3
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
* Add icon attribute on fields
* Prevent Wizard State name to start with '_'
* Add completion attribute for Many2One, Many2Many and One2Many
* Add ViewSearch
+1
View File
@@ -102,6 +102,7 @@ attlist.field &= attribute img_height { text }?
attlist.field &=
[a:defaultValue = "0"] attribute filename_visible { "0" | "1" }?
attlist.field &= [a:defaultValue = "0"] attribute pre_validate { "0" | "1" }?
attlist.field &= attribute icon { text }?
attlist.field &= [a:defaultValue = "1"] attribute completion { "0" | "1" }?
image = element image { attlist.image, empty }
attlist.image &= attribute name { text }
+5
View File
@@ -364,6 +364,11 @@
</attribute>
</optional>
</define>
<define name="attlist.field" combine="interleave">
<optional>
<attribute name="icon"/>
</optional>
</define>
<define name="attlist.field" combine="interleave">
<optional>
<attribute name="completion" a:defaultValue="1">