From fb2a7c68275b24d6323b0dab6e7c97d3db87c573 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Wed, 1 Oct 2014 14:49:24 +0700 Subject: [PATCH] fix --- netforce_clinic/models/clinic_patient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netforce_clinic/models/clinic_patient.py b/netforce_clinic/models/clinic_patient.py index 5371f3b..04a0e96 100644 --- a/netforce_clinic/models/clinic_patient.py +++ b/netforce_clinic/models/clinic_patient.py @@ -40,7 +40,7 @@ class Patient(Model): "card_type": fields.Selection([("iden_id","Identity Card"),("passport","Passport")],"Card Type",required=True), 'iden_id' : fields.Char("Card No."), "app_no": fields.Char("Application No."), - "salary": fields.Selection([("20000","5,001-20,000"),("50000","20,001-50,000"),("100000","50,001-100,000"),("100001","100,000+")], "Salary"), + "salary": fields.Selection([["20000","5,001-20,000"],["50000","20,001-50,000"],["100000","50,001-100,000"],["100001","100,000+"]], "Salary"), 'exp_id' : fields.Date("Expiry Date"), "state": fields.Selection([("draft","Draft"),("active","Active"),("deactive","Deactive")],"Status",required=False), "addresses": fields.One2Many("address","related_id","Addresses"),