From cde5b232e8a1170f4f7a1242f93edc021ebfeefc Mon Sep 17 00:00:00 2001 From: Simon Lejeune Date: Mon, 2 Oct 2017 15:56:31 +0200 Subject: [PATCH] [REF] stock: alert on show details if not saved It's not possible to click on the show details button if the picking is not saved. It's a limitation of the webclient. This commit introduces a waring telling the user to save the form view first. --- addons/stock/views/stock_picking_views.xml | 2 +- addons/web/static/src/js/services/data_manager.js | 3 +++ addons/web/static/src/js/views/list/list_renderer.js | 11 ++++++++++- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/addons/stock/views/stock_picking_views.xml b/addons/stock/views/stock_picking_views.xml index d0c64324917..eab9d50f154 100644 --- a/addons/stock/views/stock_picking_views.xml +++ b/addons/stock/views/stock_picking_views.xml @@ -300,7 +300,7 @@ -