From 5dad6376131ab3f3d0174933c0b0f98e8667517a Mon Sep 17 00:00:00 2001 From: "watcha.h@almacom.co.th" Date: Tue, 13 Jan 2015 20:45:11 +0700 Subject: [PATCH] generate visit --- netforce_clinic/layouts/clinic_gen_visit_form.xml | 2 +- netforce_clinic/models/gen_visit.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/netforce_clinic/layouts/clinic_gen_visit_form.xml b/netforce_clinic/layouts/clinic_gen_visit_form.xml index 860c659..c0466d4 100644 --- a/netforce_clinic/layouts/clinic_gen_visit_form.xml +++ b/netforce_clinic/layouts/clinic_gen_visit_form.xml @@ -2,7 +2,7 @@ - + diff --git a/netforce_clinic/models/gen_visit.py b/netforce_clinic/models/gen_visit.py index c9afedd..da8d78f 100644 --- a/netforce_clinic/models/gen_visit.py +++ b/netforce_clinic/models/gen_visit.py @@ -301,5 +301,6 @@ class GenVisit(Model): line['time_stop']=cycle.time_stop return data + GenVisit.register()