From 9e9d8e3632e566de22e4971aea5c7f2ad74aa043 Mon Sep 17 00:00:00 2001 From: Graeme Gellatly Date: Tue, 25 Sep 2018 07:22:44 +0000 Subject: [PATCH] [FIX] purchase: add state field in form view The inline tree view of the purchase order lines has a state field that is used in attrs. The popup form does not have the state view. Even if the state field is not used in the form view, closing the form view produces an error as the field state is not found. This patch is a workaround to avoid the error. The real issue should be fixed in the future but is more complex. closes odoo/odoo#27208 --- addons/purchase/views/purchase_views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/purchase/views/purchase_views.xml b/addons/purchase/views/purchase_views.xml index d8982aed353..f215b2852ca 100644 --- a/addons/purchase/views/purchase_views.xml +++ b/addons/purchase/views/purchase_views.xml @@ -227,6 +227,7 @@
+