Projet

Général

Profil

Development #47090

paiement vs python 3

Ajouté par Frédéric Péters il y a plus de 3 ans. Mis à jour il y a plus de 3 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
Début:
28 septembre 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Exception:
  type = '<class 'NameError'>', value = 'name 'basestring' is not defined'

Stack trace (most recent call first):
  File "/usr/lib/python3/dist-packages/auquotidien/modules/payments_ui.py", line 350, in monetary_amount
   348         if not val:
   349             return ''
>  350         if isinstance(val, basestring):
   351             val = val.replace(',', '.')
   352         return '%.2f' % decimal.Decimal(val)


Fichiers

0001-py3-update-payment-UI-47090.patch (837 octets) 0001-py3-update-payment-UI-47090.patch Frédéric Péters, 28 septembre 2020 14:27

Révisions associées

Révision 534d8a48 (diff)
Ajouté par Frédéric Péters il y a plus de 3 ans

py3: update payment UI (#47090)

Historique

#1

Mis à jour par Frédéric Péters il y a plus de 3 ans

#2

Mis à jour par Benjamin Dauvergne il y a plus de 3 ans

  • Statut changé de Solution proposée à Solution validée
#3

Mis à jour par Frédéric Péters il y a plus de 3 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 534d8a489aa2e0b10ab9f0907bcd6f8705ba66d9
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Mon Sep 28 14:27:09 2020 +0200

    py3: update payment UI (#47090)
#4

Mis à jour par Frédéric Péters il y a plus de 3 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF