Odoo Help

1

0
1 Answer
0
Avatar

Jose David Moreno Hernandez Spain

--Jose David Moreno Hernandez--

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


Jose David Moreno Hernandez Spain
03:07, 09/11/2019

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, :)

Ask a Question
Keep Informed
2 follower(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