diff --git a/stock_inventory/views/stock_inventory.xml b/stock_inventory/views/stock_inventory.xml
index a4394b587..2b0de4382 100644
--- a/stock_inventory/views/stock_inventory.xml
+++ b/stock_inventory/views/stock_inventory.xml
@@ -11,27 +11,27 @@
type="object"
name="action_state_to_in_progress"
class="oe_highlight"
- attrs="{'invisible':[('state', 'in', ['in_progress', 'done'])]}"
+ invisible="state in ('in_progress', 'done')"
string="Begin Adjustments"
/>
-
+
-
+
-
-
-
-
+
+
+
+
@@ -175,7 +189,7 @@
diff --git a/stock_inventory/views/stock_move_line.xml b/stock_inventory/views/stock_move_line.xml
index 10961216f..e835f43d4 100644
--- a/stock_inventory/views/stock_move_line.xml
+++ b/stock_inventory/views/stock_move_line.xml
@@ -10,7 +10,7 @@
-
+