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:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
4252
أدوات العرض
Hi,
use following approaches;
<t t-if="your_conditions">
<b></b>
</t>
or
<b t-if="condition">Sample Text</b>
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
2
سبتمبر 23
|
26386 | ||
|
2
يوليو 23
|
6285 | ||
|
1
يونيو 23
|
4318 | ||
|
1
أبريل 23
|
5039 | ||
|
1
نوفمبر 22
|
3746 |