summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/customer_review.py
blob: d64d2d5a36e21dfc284a77097db8e6664e346cf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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')
    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([
        ('tayang', 'Tayang'),
        ('tidak_tayang', 'Tidak Tayang')
    ], string='Status')