From 9a2f55f06c1fccaa01088a28c15afaeb3715aa2f Mon Sep 17 00:00:00 2001 From: shreya thakrar Date: Wed, 25 Mar 2020 06:09:55 +0000 Subject: [PATCH] [FIX] stock: issue when opening view in studio When user is in an operation. For example, a delivery, when user opens studio and click on the move line, click on edit and close studio. The result is that user can't create record anymore. By this commit, this issue has been fixed. task - 2170090 closes odoo/odoo#52101 X-original-commit: cc10d8bccada44041f62243ab4785a422f354aaa Signed-off-by: Damien Bouvy (dbo) --- addons/stock/views/stock_move_line_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/views/stock_move_line_views.xml b/addons/stock/views/stock_move_line_views.xml index f655cde96b6..ec810483aff 100644 --- a/addons/stock/views/stock_move_line_views.xml +++ b/addons/stock/views/stock_move_line_views.xml @@ -125,7 +125,7 @@ ir.actions.act_window tree,kanban,pivot,form - {'search_default_done': 1, 'search_default_groupby_product_id': 1} + {'search_default_done': 1, 'search_default_groupby_product_id': 1, 'create': 0}

There's no product move yet