تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
لقد تم إغلاق هذا السؤال والسبب: not enough information given to provide help
بواسطة Sreeraj Raghu في 11 يوليو, 2024 04:39:58
1021 أدوات العرض

Estou a tentar fazer upgrade de um módulo da versão 13 para a v17 e não estou a conseguir susbtituir, através do xpath uma div que não tem id nem name, apenas uma classe.
Dá este erro:

(...)17.0/odoo/tools/convert.py", line 567, in _tag_root

    raise ParseError(msg) from None  # Restart with "--log-handler odoo.tools.convert:DEBUG" for complete traceback

odoo.tools.convert.ParseError: while parsing None:4

Error while parsing or validating view:

''

Element '' cannot be located in parent view
Este última varia de acordo com o que está escrito dentro do expr. 
Já tentei assim:

 

e assim:

 

sendo este o template com a div original:​

   

   

       

       

             

       

       

   

   

       

           

           

               

Short Description for List View

               

           

       

       

   




الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
7
ديسمبر 24
7607
0
مايو 24
1383
0
أبريل 24
23
1
مارس 24
2647
0
مارس 24
1623