diff --git a/netforce_clinic/actions/clinic_report_hd_case_summary.xml b/netforce_clinic/actions/clinic_report_hd_case_summary.xml index 30dd520..8ace14b 100644 --- a/netforce_clinic/actions/clinic_report_hd_case_summary.xml +++ b/netforce_clinic/actions/clinic_report_hd_case_summary.xml @@ -1,5 +1,5 @@ - HD Case Report Summary + HD Case Summary report clinic.report.hd.case.summary report_hd_case_summary diff --git a/netforce_clinic/layouts/clinic_change_visit.xml b/netforce_clinic/layouts/clinic_change_visit.xml index 885d014..6a7b5b1 100644 --- a/netforce_clinic/layouts/clinic_change_visit.xml +++ b/netforce_clinic/layouts/clinic_change_visit.xml @@ -1,7 +1,7 @@
- + diff --git a/netforce_clinic/layouts/clinic_visit_form.xml b/netforce_clinic/layouts/clinic_visit_form.xml index 47181fe..240967e 100644 --- a/netforce_clinic/layouts/clinic_visit_form.xml +++ b/netforce_clinic/layouts/clinic_visit_form.xml @@ -14,7 +14,7 @@ - + diff --git a/netforce_clinic/models/change_visit.py b/netforce_clinic/models/change_visit.py index 3bfc8c0..d4e6e55 100644 --- a/netforce_clinic/models/change_visit.py +++ b/netforce_clinic/models/change_visit.py @@ -13,7 +13,7 @@ class ChangeVisit(Model): "department_id": fields.Many2One("clinic.department", "Department",search=True), 'branch_id': fields.Many2One("clinic.branch","Branch"), "cycle_id": fields.Many2One("clinic.cycle","Cycle"), - 'visit_date': fields.Date('Date'), + 'visit_date': fields.Date('Date',required=True), 'note': fields.Text('Note'), } diff --git a/netforce_clinic/models/visit.py b/netforce_clinic/models/visit.py index 15fe2ce..bbd49f4 100644 --- a/netforce_clinic/models/visit.py +++ b/netforce_clinic/models/visit.py @@ -48,7 +48,7 @@ class Visit(Model): 'print_date': fields.Date('Print Date',function="_get_print_date"), 'cycle_item_id': fields.Many2One("clinic.cycle.item","Cycle Item"), #XXX on_delete="cascade" -> rm visit from cycle item 'sequence': fields.Char("Sequence",function="_get_all",function_multi=True,store=True), - 'visit_date': fields.Date('Date'), + 'visit_date': fields.Date('Date',required=True), 'cycle_color': fields.Char('Color',function="_get_all",function_multi=True,store=True), 'note': fields.Text('Note'), 'branch_id': fields.Many2One("clinic.branch","Branch"),