diff --git a/inventory.xml b/inventory.xml
index 1fdff6f805..0ff605c4f2 100644
--- a/inventory.xml
+++ b/inventory.xml
@@ -42,11 +42,11 @@ this repository contains the full copyright notices and license terms. -->
+ icon="tryton-cancel" />
+ icon="tryton-ok"/>
diff --git a/period.xml b/period.xml
index 6e854a86e4..e46cebdbde 100644
--- a/period.xml
+++ b/period.xml
@@ -17,9 +17,11 @@ this repository contains the full copyright notices and license terms. -->
+ states="{'invisible': Equal(Eval('state'), 'draft'), 'readonly': Not(In(%(group_stock_admin)d, Eval('groups', [])))}"
+ icon="tryton-clear"/>
+ states="{'invisible': Equal(Eval('state'), 'closed'), 'readonly': Not(In(%(group_stock_admin)d, Eval('groups', [])))}"
+ icon="tryton-ok"/>
]]>
diff --git a/shipment.xml b/shipment.xml
index a6903fddd1..304a2014e8 100644
--- a/shipment.xml
+++ b/shipment.xml
@@ -243,11 +243,10 @@ this repository contains the full copyright notices and license terms. -->
-
+
-
-
+
@@ -446,11 +445,10 @@ this repository contains the full copyright notices and license terms. -->
-
+
-
-
+
@@ -624,11 +622,10 @@ this repository contains the full copyright notices and license terms. -->
-
+
-
-
+