From 818d34630d5a1551c050cf49bd12640f0bf04da3 Mon Sep 17 00:00:00 2001 From: Nicolas Vannieuwerburgh Date: Tue, 9 Apr 2019 06:18:47 +0000 Subject: [PATCH] [IMP] stock: noupdate on stock location Stock.locations should be in no-update: Limit the impact of recompute fields during the upgrade of stock module. (especially method _compute_product_availability) Limit the impact on migration Method _compute_product_availability is triggered during an upgrade of module and during migrations. This may take a lot of time of big databases closes odoo/odoo#34074 Signed-off-by: Nicolas Martinelli (nim) --- addons/stock/data/stock_data.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/stock/data/stock_data.xml b/addons/stock/data/stock_data.xml index 35f2c008729..e91ce86bc08 100644 --- a/addons/stock/data/stock_data.xml +++ b/addons/stock/data/stock_data.xml @@ -14,6 +14,8 @@ + + Physical Locations view