[FIX] Account : Partner Balance report gets printed with respect to the company selected
lp bug: https://launchpad.net/bugs/351083 fixed bzr revid: jvo@tinyerp.com-20090924124104-1jujc0yjssk1dlbb
This commit is contained in:
committed by
Jay (Open ERP)
parent
48cad35492
commit
45c8d1d93d
@@ -217,6 +217,7 @@ class partner_balance(report_sxw.rml_parse):
|
||||
"JOIN account_account ac ON (l.account_id = ac.id)" \
|
||||
"WHERE ac.type IN " + self.ACCOUNT_TYPE + " " \
|
||||
"AND l.date IN (" + self.date_lst_string + ") " \
|
||||
"AND ac.company_id = "+ str(data['form']['company_id']) +" " \
|
||||
"GROUP BY p.id, p.ref, p.name,l.account_id,ac.name,ac.code " \
|
||||
"ORDER BY l.account_id,p.name")
|
||||
res = self.cr.dictfetchall()
|
||||
|
||||
Reference in New Issue
Block a user