From 60f4bcf9e3193f86a0ca41f12ec90cba797593de Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Fri, 28 Aug 2009 16:46:22 +0530 Subject: [PATCH] [FIX] report_document : Dashboard should not display partner with no files lp bug: https://launchpad.net/bugs/416807 fixed bzr revid: jvo@tinyerp.com-20090828111622-eivmpeb3aac9rx90 --- addons/report_document/report_document.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/report_document/report_document.py b/addons/report_document/report_document.py index b2cb912ff77..9f8fea2e972 100644 --- a/addons/report_document/report_document.py +++ b/addons/report_document/report_document.py @@ -101,7 +101,8 @@ class report_files_partner(osv.osv): p.name as partner from ir_attachment f inner join res_partner p - on (f.partner_id=p.id) + on (f.partner_id=p.id) + where f.datas_fname is not null group by p.name ) """)