-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a848181
commit ce4fac8
Showing
2 changed files
with
10 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright (C) 2015-2018 Akretion (http://www.akretion.com) | ||
# Copyright (C) 2015-2019 Akretion (http://www.akretion.com) | ||
# @author Alexis de Lattre <[email protected]> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
|
@@ -36,7 +35,7 @@ def py3o_lines_layout_groupby_order(self, subtotal=True): | |
for line in res1.values()[0]['lines']: | ||
res2.append({'line': line}) | ||
else: | ||
for order, ldict in res1.iteritems(): | ||
for order, ldict in res1.items(): | ||
res2.append({'categ': order}) | ||
for line in ldict['lines']: | ||
res2.append({'line': line}) | ||
|