From 0e65962a16265e9264e1a1876acce80fb1dbde47 Mon Sep 17 00:00:00 2001
From: Josse Colpaert <jco@odoo.com>
Date: Mon, 9 Oct 2017 12:10:36 +0200
Subject: [PATCH] [FIX] mrp: states are sufficient for Update link in mo fixes
 #19962

---
 addons/mrp/views/mrp_production_views.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/addons/mrp/views/mrp_production_views.xml b/addons/mrp/views/mrp_production_views.xml
index 1886d119b6e3..78f2d1e57d39 100644
--- a/addons/mrp/views/mrp_production_views.xml
+++ b/addons/mrp/views/mrp_production_views.xml
@@ -89,7 +89,7 @@
                                 <field name="product_uom_id" options="{'no_open':True,'no_create':True}" groups="product.group_uom" attrs="{'readonly': [('has_moves', '=', True)]}"/>
                                 <button type="action"
                                     name="%(mrp.action_change_production_qty)d"
-                                    string="Update" states="confirmed,planned,progress" class="oe_link" attrs="{'invisible': [('state','=','done')]}"/>
+                                    string="Update" states="confirmed,planned,progress" class="oe_link"/>
                             </div>
                             <field name="bom_id"
                                 domain="['&amp;', '|',
-- 
GitLab