From 5022f68a4275599d7e77660e780bc41b4124dafe Mon Sep 17 00:00:00 2001 From: Ethan Hildick Date: Wed, 3 Jan 2024 17:05:39 +0000 Subject: [PATCH] [IMP] product: use eval-able True When using safe_eval on this dict, "true" raises a NameError while "True" is interpreted properly. At the same time, this is more consistent with the rest of the code. closes odoo/odoo#148203 X-original-commit: 0e91bf8b3956c1403e638421a91af3275b9e6489 Signed-off-by: Antoine Vandevenne (anv) --- addons/product/views/product_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/product/views/product_views.xml b/addons/product/views/product_views.xml index cf18e49c908..e0a6c5e950b 100644 --- a/addons/product/views/product_views.xml +++ b/addons/product/views/product_views.xml @@ -424,7 +424,7 @@ - {'no_open': true} + {'no_open': True}