From f0f31234dfaa22850ebb502211a4488b4981f17c Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 Jan 2023 10:08:50 +0700 Subject: change text to html in customer review --- indoteknik_custom/models/customer_review.py | 1 + 1 file changed, 1 insertion(+) (limited to 'indoteknik_custom/models') 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([ -- cgit v1.2.3