diff --git a/trytond/ir/ui/form.rnc b/trytond/ir/ui/form.rnc
index 961262ee11..9974fbec4f 100644
--- a/trytond/ir/ui/form.rnc
+++ b/trytond/ir/ui/form.rnc
@@ -28,6 +28,8 @@ attlist.tree &= attribute on_write { text }?
attlist.tree &= attribute editable { "top" | "bottom" }?
attlist.tree &= attribute sequence { text }?
attlist.tree &= attribute colors { text }?
+attlist.tree &=
+ [ a:defaultValue = "0" ] attribute fill { "0" | "1" }?
graph = element graph { attlist.graph, x, y }
attlist.graph &=
diff --git a/trytond/ir/ui/form.rng b/trytond/ir/ui/form.rng
index 439c6ca690..e9d90114a1 100644
--- a/trytond/ir/ui/form.rng
+++ b/trytond/ir/ui/form.rng
@@ -78,6 +78,16 @@
+
+
+
+
+ 0
+ 1
+
+
+
+
diff --git a/trytond/ir/ui/tree.rnc b/trytond/ir/ui/tree.rnc
index c54f8615c1..84cb3d8ff0 100644
--- a/trytond/ir/ui/tree.rnc
+++ b/trytond/ir/ui/tree.rnc
@@ -7,6 +7,8 @@ attlist.tree &= attribute on_write { text }?
attlist.tree &= attribute editable { "top" | "bottom" }?
attlist.tree &= attribute sequence { text }?
attlist.tree &= attribute colors { text }?
+attlist.tree &=
+ [ a:defaultValue = "0" ] attribute fill { "0" | "1" }?
attlist.tree &=
[ a:defaultValue = "0" ] attribute toolbar { "0" | "1" }?
field = element field { attlist.field, empty }
diff --git a/trytond/ir/ui/tree.rng b/trytond/ir/ui/tree.rng
index 3e240937e7..b45871d5a2 100644
--- a/trytond/ir/ui/tree.rng
+++ b/trytond/ir/ui/tree.rng
@@ -38,6 +38,16 @@
+
+
+
+
+ 0
+ 1
+
+
+
+