[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
This commit is contained in:
Jay (Open ERP) 2009-08-28 16:46:22 +05:30
parent 72cfa7cf23
commit 60f4bcf9e3
1 changed files with 2 additions and 1 deletions

View File

@ -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
)
""")