diff --git a/trytond/ir/ui/form.rnc b/trytond/ir/ui/form.rnc
index eda2a299ff..38a0e75a3b 100644
--- a/trytond/ir/ui/form.rnc
+++ b/trytond/ir/ui/form.rnc
@@ -154,6 +154,8 @@ attlist.button &= attribute change { text }?
attlist.button &= attribute type { "class" | "instance" }?
notebook = element notebook { attlist.notebook, page* }
attlist.notebook &= [ a:defaultValue = "4" ] attribute colspan { text }?
+attlist.notebook &= [ a:defaultValue = "1" ] attribute yexpand { "0" | "1" }?
+attlist.notebook &= [ a:defaultValue = "1" ] attribute yfill { "0" | "1" }?
attlist.notebook &= attribute states { text }?
attlist.notebook &= attribute width { text }?
attlist.notebook &= attribute height { text }?
diff --git a/trytond/ir/ui/form.rng b/trytond/ir/ui/form.rng
index bd83b0f2d3..073a4af808 100644
--- a/trytond/ir/ui/form.rng
+++ b/trytond/ir/ui/form.rng
@@ -797,6 +797,28 @@
+
+
+
+ yexpand
+
+ 0
+ 1
+
+
+
+
+
+
+
+ yfill
+
+ 0
+ 1
+
+
+
+