12345678910111213141516171819 |
- # -*- coding: utf-8 -*-
- from odoo import models, fields
-
- class KlinikPasien(models.Model):
- _name = "klinik.pasien"
-
- name = fields.Char(string='Nama Pasien')
- jenis_kelamin = fields.Selection([
- ('pria','Laki laki'),
- ('wanita','Wanita'),
- ])
-
-
- class KlinikDokter(models.Model):
- _name = "klinik.dokter"
-
- name = fields.Char()
-
-
|