Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
The question has been closed iz razloga: not enough information given to provide help
by Sreeraj Raghu na 11. 07. 2024 04:39:58
1031 Prikazi

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

               

           

       

       

   




Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
7
dec. 24
7630
0
maj 24
1387
0
apr. 24
23
1
mar. 24
2679
0
mar. 24
1633