[IMP] Account: Partner ledger report: Add sort by date for lines

bzr revid: mra@mra-laptop-20100916104713-61jy0ecezqzjomb2
This commit is contained in:
Mustufa Rangwala 2010-09-16 16:17:13 +05:30
parent e07d23cef4
commit c9ed09b6ca
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ class third_party_ledger(rml_parse.rml_parse, common_report_header):
"WHERE l.partner_id = %s " \
"AND l.account_id IN %s AND " + self.query +" " \
" " + RECONCILE_TAG + " "\
"ORDER BY l.id",
"ORDER BY l.date",
(partner.id, tuple(self.account_ids)))
res = self.cr.dictfetchall()
sum = 0.0