Vérifier que la référence d'une écriture existe #2

Closed
opened 2023-10-16 15:03:32 +02:00 by neox · 0 comments
Owner

L'erreur suivante se produit pour les cotisations en transition, lorsque la référence n'existe pas :

Traceback (most recent call last):
  File "/home/tresorier/gestion/controle_cotisation/./main.py", line 438, in <module>
    main()
  File "/home/tresorier/gestion/controle_cotisation/./main.py", line 420, in main
    validate_members()
  File "/home/tresorier/gestion/controle_cotisation/./main.py", line 415, in validate_members
    validate(record)
  File "/home/tresorier/gestion/controle_cotisation/./main.py", line 385, in validate
    latexfile = latexfile.replace("MODE-VERSEMENT", answer["true_reference"])
TypeError: replace() argument 2 must be str, not None
L'erreur suivante se produit pour les cotisations en transition, lorsque la référence n'existe pas : ``` Traceback (most recent call last): File "/home/tresorier/gestion/controle_cotisation/./main.py", line 438, in <module> main() File "/home/tresorier/gestion/controle_cotisation/./main.py", line 420, in main validate_members() File "/home/tresorier/gestion/controle_cotisation/./main.py", line 415, in validate_members validate(record) File "/home/tresorier/gestion/controle_cotisation/./main.py", line 385, in validate latexfile = latexfile.replace("MODE-VERSEMENT", answer["true_reference"]) TypeError: replace() argument 2 must be str, not None ```
neox self-assigned this 2023-10-16 15:03:32 +02:00
neox added the
bogue
label 2023-10-19 15:45:56 +02:00
neox added the
résolu
label 2023-11-04 15:23:29 +01:00
neox closed this issue 2024-02-15 17:10:40 +01:00
Sign in to join this conversation.
No description provided.