diff --git a/stock_inventory/views/stock_inventory.xml b/stock_inventory/views/stock_inventory.xml
index a4394b587530..759870233148 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"
/>
-
+
-
+
-
-
-
-
+
+
+
+
diff --git a/stock_inventory/views/stock_move_line.xml b/stock_inventory/views/stock_move_line.xml
index 10961216f5e0..e835f43d40af 100644
--- a/stock_inventory/views/stock_move_line.xml
+++ b/stock_inventory/views/stock_move_line.xml
@@ -10,7 +10,7 @@
-
+