[FIX] account: aged partner balance: column reference partner_id is ambiguous

bzr revid: mra@mra-laptop-20101018071256-3tddcshqtt0lp5l9
This commit is contained in:
Mustufa Rangwala 2010-10-18 12:42:56 +05:30
parent cfac8a4d9d
commit 595ef2d6e1
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ class aged_trial_report(rml_parse.rml_parse, common_report_header):
OR (l.reconcile_id IN (SELECT recon.id FROM account_move_reconcile AS recon WHERE recon.create_date > %s )))\
AND ' + self.query + '\
AND account_account.active\
GROUP BY partner_id ', (tuple(move_state), tuple(self.ACCOUNT_TYPE), tuple(partner_ids), self.date_from))
GROUP BY l.partner_id ', (tuple(move_state), tuple(self.ACCOUNT_TYPE), tuple(partner_ids), self.date_from))
t = self.cr.fetchall()
for i in t:
totals[i[0]] = i[1]