diff --git a/addons/mrp/views/mrp_production_views.xml b/addons/mrp/views/mrp_production_views.xml
index d607aea69c0013efad9d30760965e51d553f8042..85785abd3315376bb94f231e5fe317c35a0f1442 100644
--- a/addons/mrp/views/mrp_production_views.xml
+++ b/addons/mrp/views/mrp_production_views.xml
@@ -10,7 +10,7 @@
                     <field name="message_needaction" invisible="1"/>
                     <field name="name" decoration-bf="1"/>
                     <field name="date_planned_start" readonly="1" optional="show"
-                        attrs="{'readonly': [('state', 'in', ['done', 'cancel'])]}" decoration-danger="date_planned_start&lt;current_date and state not in ('done','cancel')"/>
+                        attrs="{'readonly': [('state', 'in', ['done', 'cancel'])]}" decoration-danger="date_planned_start&lt;now and state not in ('done','cancel')"/>
                     <field name="date_deadline" widget="remaining_days" attrs="{'invisible': [('state', 'in', ['done', 'cancel'])]}" optional="hide"/>
                     <field name="product_id" readonly="1" optional="show"/>
                     <field name="product_uom_id" string="Unit of Measure" options="{'no_open':True,'no_create':True}" groups="uom.group_uom" optional="show"/>