From 2d6fd0e7b93b21929e5b3926d397e67d8f3b520c Mon Sep 17 00:00:00 2001 From: William Henrotin Date: Mon, 5 Jul 2021 09:23:32 +0000 Subject: [PATCH] [FIX] purchase_stock: add sequence to new view The commit 6eaa4a2ae3b12b244f4c4277ef9cbc172f492f0a introduced a new view on model supplier info. The issue is that this new view is meant to be used on supplier info as One2Many on stock.orderpoint and so contains some `parent.` relation. As no sequence has been set. This view replaced the original one in the Purchase Configuration menu. Leading to some error as `parent.` in not defined for standalone tree view. This commit set a sequence on this new view to ensure it is used only on the orderpoint form view. closes odoo/odoo#73212 Signed-off-by: William Henrotin --- addons/purchase_stock/wizard/stock_replenishment_info.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/purchase_stock/wizard/stock_replenishment_info.xml b/addons/purchase_stock/wizard/stock_replenishment_info.xml index bad5fdbd5b2..b5a561520f8 100644 --- a/addons/purchase_stock/wizard/stock_replenishment_info.xml +++ b/addons/purchase_stock/wizard/stock_replenishment_info.xml @@ -6,6 +6,7 @@ product.supplierinfo primary + 100