clinic management

This commit is contained in:
XuanHuyen
2025-03-22 09:11:09 +07:00
parent 37590ce057
commit 662726af4e
21 changed files with 587 additions and 0 deletions
@@ -0,0 +1,14 @@
from odoo import models, fields, api
class ClinicPatient(models.Model):
_name = 'clinic.patient'
_description = 'Bệnh nhân'
name = fields.Char(string='Tên bệnh nhân', required=True)
dob = fields.Date(string='Ngày sinh')
gender = fields.Selection([
('male', 'Male'),
('female', 'Female')
], string='Giới tính')
phone = fields.Char(string='Số điện thoại')
medical_history = fields.Text(string='Lịch sử bệnh án')