Browse Source

[FIX] group by

pull/7/merge
Vincent Renaville 12 years ago
parent
commit
f32dbcaa1d
  1. 2
      account_export_csv/wizard/account_export_csv.py

2
account_export_csv/wizard/account_export_csv.py

@ -195,7 +195,7 @@ class AccountCSVExport(orm.TransientModel):
inner join account_account as ac inner join account_account as ac
on account_move_line.account_id = ac.id on account_move_line.account_id = ac.id
and account_move_line.period_id in %(period_ids)s and account_move_line.period_id in %(period_ids)s
group by aac.id,aac.code,ac.name,ac.id,ac.code,ac.name
group by aac.id,aac.code,aac.name,ac.id,ac.code,ac.name
order by aac.code order by aac.code
""", """,
{'fiscalyear_id': fiscalyear_id,'company_id':company_id,'period_ids':tuple(period_range_ids)} {'fiscalyear_id': fiscalyear_id,'company_id':company_id,'period_ids':tuple(period_range_ids)}

Loading…
Cancel
Save