跳至內容
選單
此問題已被標幟
4 回覆
3371 瀏覽次數

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
5902
1
3月 15
7584
3
2月 24
11238
3
12月 24
7498
1
8月 24
2102