From 3052d3e2547b179a9817276500f6aa48148b5573 Mon Sep 17 00:00:00 2001 From: Raman Marikanti Date: Thu, 18 Dec 2025 15:05:14 +0530 Subject: [PATCH] report code products only --- custom_addons/dashboard/models/stock_dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_addons/dashboard/models/stock_dashboard.py b/custom_addons/dashboard/models/stock_dashboard.py index 125f403ba..7e9380dec 100644 --- a/custom_addons/dashboard/models/stock_dashboard.py +++ b/custom_addons/dashboard/models/stock_dashboard.py @@ -119,7 +119,7 @@ class SamashtiDashboard(models.AbstractModel): sl_src.usage IN ('internal', 'supplier', 'production', 'customer', 'inventory') AND sl_dest.usage IN ('internal', 'supplier', 'production', 'customer', 'inventory') AND sm.state = 'done' AND - pt.type = 'consu' AND pp.default_code not null + pt.type = 'consu' AND pp.default_code is not null GROUP BY pp.default_code, pt.name, pc.name, uom.name, pp.id