From 4aeb42972d5163bf75297ca798d0d4d47f2f4b2f Mon Sep 17 00:00:00 2001 From: "SME(Tiny/Axelor)" <> Date: Fri, 21 Aug 2009 19:16:48 +0530 Subject: [PATCH] [FIX] report_task : report_task_user_pipeline_open was having no uniqueness lp bug: https://launchpad.net/bugs/415218 fixed bzr revid: jvo@tinyerp.com-20090821134648-h2uf22ewnewsw5n3 --- addons/report_task/report_task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/report_task/report_task.py b/addons/report_task/report_task.py index 5fa73654094..8f10ac4ff07 100644 --- a/addons/report_task/report_task.py +++ b/addons/report_task/report_task.py @@ -40,7 +40,7 @@ class report_task_user_pipeline_open (osv.osv): cr.execute(''' create or replace view report_task_user_pipeline_open as ( select - u.id as id, + min(t.id) as id, u.id as user_id, u.company_id as company_id, count(t.*) as task_nbr,