How can i securely render HTML formated text with some allowed tags like <b> <i> on a odoo qweb report.
I don't trust t-raw.
There are any odoo module or example code for this?
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
This question has been flagged
1
Reply
3482
Views
Hi,
use following approaches;
<t t-if="your_conditions">
<b></b>
</t>
or
<b t-if="condition">Sample Text</b>
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Sep 23
|
23929 | ||
|
2
Jul 23
|
3255 | ||
|
1
Jun 23
|
2599 | ||
|
1
Apr 23
|
3205 | ||
|
1
Nov 22
|
2130 |