Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4 Odpovědi
3330 Zobrazení

Erreur utilisateur

×

Échec de rendu modèle QWeb :not all arguments converted during string formatting Traceback (most recent call last): File "C:\ecommande\odoo-15.0\odoo\addons\base\models\qweb.py", line 219, in render_template yield from compiled_fn(self, values, log) File "", line 148, in template TypeError: not all arguments converted during string formatting Error when render the template TypeError: not all arguments converted during string formatting Template: Path: /div/table/tr[1]/td/table/tbody/tr[3]/td/table/tr[2]/td/t[2]/a Node:

 
I get this error when I try to create a user odoo15

Avatar
Zrušit
Autor Nejlepší odpověď

Bonjour Frédéric,
merci pour ta reponse ça m'a permit de comprendre l'erreur.
mais c'est pas ce que j'ai appliqué. il se trouve que le fichier fr.po à été mis à jour et le '%s' a sauté dans le footer 

cependant, lorsque j'ai modifier ça ne marchait pas; parce qu'il ne recompile pas le fichier fr.po. Du coup je suis allé dans l'interface dans technique->courriel->modèles de courriels et j'ai modifier le footer en ajoutant %s aux ligne.


Avatar
Zrušit
Nejlepší odpověď

Good morning, I have an Error creating new user, I followed Ghislain's method but I can't find the footer file in the interface in technical->email->email templates Thanks for your help

Avatar
Zrušit


it is very urgent please

Nejlepší odpověď

.


Avatar
Zrušit
Nejlepší odpověď

Hi Ghislain (ou plutôt Bonjour)

J'ai trouvé une solution : il faut modifier le modèle de courrier dans la partie Footer

J'ai repris celui d'une plus ancienne version :


object.company_id.email" data-oe-t-group="0" data-oe-t-group-active="true" data-oe-t-inline="true">
| object.company_id.email" style="text-decoration:none; color: #454748;" t-out="object.company_id.email or ''" contenteditable="false">info@yourcompany.com

object.company_id.website" data-oe-t-group="1" data-oe-t-group-active="true" data-oe-t-inline="true">
| object.company_id.website" style="text-decoration:none; color: #454748;" t-out="object.company_id.website or ''" contenteditable="false">http://www.example.com



Cordialement, Best regards

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
pro 22
5872
1
bře 15
7579
3
úno 24
11211
3
pro 24
7442
1
srp 24
2084