summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/customer_review.py
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-01-03 11:31:57 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-01-03 11:31:57 +0700
commit083e4ab620edc20534992d6dd8b891796ecb35ce (patch)
tree811afc8b68f921c0f60ec8c73abae52fb0e5121d /indoteknik_custom/models/customer_review.py
parentfbea3ab095059a101d32c2f5e4f5b0f309705d28 (diff)
add window dynamic customer review
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')