Fix 2 pep8 errors in account_financial_report_webkit

pull/56/head
Guewen Baconnier 2015-01-29 11:31:43 +01:00
parent 31f9678ce2
commit d62ac0a987
1 changed files with 3 additions and 2 deletions

View File

@ -126,7 +126,8 @@ class PrintJournalWebkit(report_sxw.rml_parse, CommonReportHeaderWebkit):
objects = account_journal_period_obj.browse(self.cursor, self.uid,
new_ids)
# 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')
moves = {}
for journal_period in objects: