Browse Source

Fix 2 pep8 errors in account_financial_report_webkit

pull/54/head
Guewen Baconnier 10 years ago
committed by Guillaume Auger
parent
commit
d91d981b6e
  1. 3
      account_financial_report_webkit/report/print_journal.py

3
account_financial_report_webkit/report/print_journal.py

@ -126,7 +126,8 @@ class PrintJournalWebkit(report_sxw.rml_parse, CommonReportHeaderWebkit):
objects = account_journal_period_obj.browse(self.cursor, self.uid, objects = account_journal_period_obj.browse(self.cursor, self.uid,
new_ids) new_ids)
# Sort by journal and period # Sort by journal and period
objects.sorted(key=lambda a: (a.journal_id.code, a.period_id.date_start))
objects.sorted(key=lambda a: (a.journal_id.code,
a.period_id.date_start))
move_obj = self.pool.get('account.move') move_obj = self.pool.get('account.move')
moves = {} moves = {}
for journal_period in objects: for journal_period in objects:

Loading…
Cancel
Save