summaryrefslogtreecommitdiff
path: root/indoteknik_custom
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom')
-rw-r--r--indoteknik_custom/models/customer_review.py1
-rw-r--r--indoteknik_custom/views/customer_review.xml2
2 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/models/customer_review.py b/indoteknik_custom/models/customer_review.py
index 5fb93b2e..d64d2d5a 100644
--- a/indoteknik_custom/models/customer_review.py
+++ b/indoteknik_custom/models/customer_review.py
@@ -8,6 +8,7 @@ class CustomerReview(models.Model):
customer_name = fields.Char(string='Customer')
image = fields.Binary(string='Image')
ulasan = fields.Char(string='Ulasan')
+ ulasan_html = fields.Html('Ulasan html', sanitize_attributes=False, sanitize_form=False)
name = fields.Char(string='Name')
jabatan = fields.Char(string='Jabatan')
status = fields.Selection([
diff --git a/indoteknik_custom/views/customer_review.xml b/indoteknik_custom/views/customer_review.xml
index 7d7e66df..b01c5bf5 100644
--- a/indoteknik_custom/views/customer_review.xml
+++ b/indoteknik_custom/views/customer_review.xml
@@ -33,7 +33,7 @@
<field name="sequence"/>
<field name="image"/>
<field name="customer_name"/>
- <field name="ulasan"/>
+ <field name="ulasan_html"/>
<field name="name"/>
<field name="jabatan"/>
<field name="status"/>