0001-myspace-always-consider-regie-id-as-a-string-39973.patch
auquotidien/modules/myspace.py | ||
---|---|---|
50 | 50 |
invoices = [] |
51 | 51 |
invoices.extend(Invoice.get_with_indexed_value( |
52 | 52 |
str('user_id'), str(user.id))) |
53 |
invoices.sort(key=lambda x: (x.regie_id, -x.date.toordinal()))
|
|
53 |
invoices.sort(key=lambda x: (str(x.regie_id), -x.date.toordinal()))
|
|
54 | 54 | |
55 | 55 |
last_regie_id = None |
56 | 56 |
unpaid = False |
57 |
- |