summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/customer_review.py
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/models/customer_review.py')
-rw-r--r--indoteknik_custom/models/customer_review.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/indoteknik_custom/models/customer_review.py b/indoteknik_custom/models/customer_review.py
new file mode 100644
index 00000000..5fb93b2e
--- /dev/null
+++ b/indoteknik_custom/models/customer_review.py
@@ -0,0 +1,16 @@
+from odoo import fields, models, api
+
+
+class CustomerReview(models.Model):
+ _name = 'customer.review'
+
+ sequence = fields.Integer(string='Sequence')
+ customer_name = fields.Char(string='Customer')
+ image = fields.Binary(string='Image')
+ ulasan = fields.Char(string='Ulasan')
+ name = fields.Char(string='Name')
+ jabatan = fields.Char(string='Jabatan')
+ status = fields.Selection([
+ ('tayang', 'Tayang'),
+ ('tidak_tayang', 'Tidak Tayang')
+ ], string='Status')