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.
The difference is in HTML (code) parsing or not. When you use t-esc it will literally print out the value from the field you want to print. When you use t-raw in combination with an HTML field for example it will keep the content in HTML. If you would do a t-esc on an HTML field it will print your HTML code without interpreting it to actual code.
For example you have a field with:
If you would use t-raw it will be handled as HTML and so your <p> element won't be shown because it is converted. When you would do the same with t-esc it would literally print <p>My code</p> on your report.
The documentation that explains this is at:
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: 10/14/15, 5:49 AM|
|Seen: 3860 times|
|Last updated: 10/15/15, 12:08 AM|