From b95651f68132d58032f3bba2bb4bae7b02514b22 Mon Sep 17 00:00:00 2001 From: svs-odoo Date: Mon, 28 Oct 2019 08:59:34 +0000 Subject: [PATCH] [FIX] product_expiry: quant expiry search filter Before this commit, the "Expiration Alerts" search filter for quant return a traceback because it tries to render hours/minutes/seconds but there aren't supported. This fix just removes them. closes odoo/odoo#39416 Signed-off-by: Simon Lejeune (sle) --- addons/product_expiry/views/stock_quant_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/product_expiry/views/stock_quant_views.xml b/addons/product_expiry/views/stock_quant_views.xml index 30682e4602d..f6d8204b508 100644 --- a/addons/product_expiry/views/stock_quant_views.xml +++ b/addons/product_expiry/views/stock_quant_views.xml @@ -51,7 +51,7 @@ + domain="[('removal_date', '<=', context_today().strftime('%Y-%m-%d'))]"/>