コンテンツへスキップ
メニュー
この質問にフラグが付けられました
4 返信
3367 ビュー

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

アバター
破棄
著作者 最善の回答

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.


アバター
破棄
最善の回答

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

アバター
破棄


it is very urgent please

最善の回答

.


アバター
破棄
最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
1
12月 22
5901
1
3月 15
7584
3
2月 24
11237
3
12月 24
7496
1
8月 24
2102