Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am using this in order to create a item list to be printed on an rml report:
#In the python code
for item in items: if item['condition']: # This condition is defined in the code name = '<b>' + item['name'] + '</b>' else: name = item['name']
The coulde will give me a main items wich are composed with a list of items (something like the BoM).
Then in the rml i am using:
<para style="P5"> Items: [[ d["item"] ]]</para>
The target should be: Items: Item1 Item2 Item3 Item4
I get instead Items: Item1 Item2 <b>Item3</b> Item4
Could someone tell me what I am doing wrong? I tried the escape codes < and > on the code but I get <b>Item3</b>
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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
|Asked: 4/17/15, 10:08 AM|
|Seen: 659 times|
|Last updated: 10/6/15, 2:04 PM|