Odoo Aide

1

0
1 Réponse
0
Avatar

Jose David Moreno Hernandez Espagne

--Jose David Moreno Hernandez--

4429
| 4 1 4
Málaga, Espagne
--Jose David Moreno Hernandez--


Jose David Moreno Hernandez Espagne
09/11/2019 03:07

I'm not sure, but it looks like in the first conditional the __URL__ is treated more like an string. However in the %else parte of the conditional it seems to be used as a variable. Have you tried to do something like this:

<a t-attf-href="'__URL__&%s' % (1231)" 

Maybe in that part of the code the __URL__ variable just does not exist and so  __URL__ simply just doesn't show up at the end as part of the text content ...


Just an idea, :)

Poser une question
Étiquettes
Keep Informed
2 Abonné(e)s
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now