Bug #39973
factures, myspace, unorderable types: int() < str()
Début:
18 février 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Exception: type = '<class 'TypeError'>', value = 'unorderable types: int() < str()' Stack trace (most recent call first): File "/usr/lib/python3/dist-packages/auquotidien/modules/myspace.py", line 53, in _q_index 51 invoices.extend(Invoice.get_with_indexed_value( 52 str('user_id'), str(user.id))) > 53 invoices.sort(key=lambda x: (x.regie_id, -x.date.toordinal())) 54 55 last_regie_id = None
Fichiers
Révisions associées
myspace: always consider regie id as a string (#39973)
Historique
Mis à jour par Frédéric Péters il y a environ 4 ans
- Fichier 0001-myspace-always-consider-regie-id-as-a-string-39973.patch 0001-myspace-always-consider-regie-id-as-a-string-39973.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Thomas Noël il y a environ 4 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Frédéric Péters il y a environ 4 ans
- Statut changé de Solution validée à Résolu (à déployer)
(Pour info manuellement posé sur le SaaS de prod)
commit 3b541fb895b0d27064bb6b108fbb340971323cb7 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Tue Feb 18 11:17:12 2020 +0100 myspace: always consider regie id as a string (#39973)
Mis à jour par Frédéric Péters il y a environ 4 ans
- Statut changé de Résolu (à déployer) à Solution déployée
myspace: always consider regie id as a string (#39973)