From a57a290bd89bee0c50c9c1b03e7185c0497e89ed Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Wed, 24 Jan 2018 15:36:15 +0100 Subject: [PATCH] [FIX] stock: scheduled date read-only on picking - Create a picking - At creation, add a product and change the scheduled date The scheduled date is reset to its original value when saving. This is a standard behavior of the ORM for computed fields. Therefore we simply forbid the modification of the scheduled date at creation. opw-807572 --- addons/stock/views/stock_picking_views.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/stock/views/stock_picking_views.xml b/addons/stock/views/stock_picking_views.xml index 598515cf1b6..5bb8ddd3927 100644 --- a/addons/stock/views/stock_picking_views.xml +++ b/addons/stock/views/stock_picking_views.xml @@ -200,6 +200,7 @@
+ @@ -245,7 +246,7 @@ - +