Ei kuvausta
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

klinik.py 373B

12345678910111213141516171819
  1. # -*- coding: utf-8 -*-
  2. from odoo import models, fields
  3. class KlinikPasien(models.Model):
  4. _name = "klinik.pasien"
  5. name = fields.Char(string='Nama Pasien')
  6. jenis_kelamin = fields.Selection([
  7. ('pria','Laki laki'),
  8. ('wanita','Wanita'),
  9. ])
  10. class KlinikDokter(models.Model):
  11. _name = "klinik.dokter"
  12. name = fields.Char()