diff --git a/trytond/ir/module/module.xml b/trytond/ir/module/module.xml
index 7d72fc7d14..04825e3563 100644
--- a/trytond/ir/module/module.xml
+++ b/trytond/ir/module/module.xml
@@ -35,20 +35,20 @@
+ type="object" states="{'invisible': '''state != 'uninstalled' '''}"/>
+ type="object" states="{'invisible': '''state != 'to install' '''}"/>
+ type="object" states="{'invisible': '''state != 'installed' '''}"/>
+ type="object" states="{'invisible': '''state != 'to remove' '''}"/>
+ type="object" states="{'invisible': '''state != 'installed' '''}"/>
+ type="object" states="{'invisible': '''state != 'to upgrade' '''}"/>
diff --git a/trytond/res/request.xml b/trytond/res/request.xml
index 74ffdfd02d..b90c734305 100644
--- a/trytond/res/request.xml
+++ b/trytond/res/request.xml
@@ -41,9 +41,9 @@
-
-
@@ -60,7 +60,7 @@
-