From 0c2b6adc278279a385c26824811d42dd691ef812 Mon Sep 17 00:00:00 2001 From: "watcha.h@almacom.co.th" Date: Sun, 31 May 2015 14:14:32 +0700 Subject: [PATCH] share location --- .../actions/clinic_share_location.xml | 6 + .../layouts/clinic_patient_form.xml | 5 +- .../layouts/clinic_share_location.xml | 20 ++++ netforce_clinic/models/__init__.py | 1 + netforce_clinic/models/patient.py | 7 +- netforce_clinic/models/share_location.py | 107 ++++++++++++++++++ 6 files changed, 139 insertions(+), 7 deletions(-) create mode 100644 netforce_clinic/actions/clinic_share_location.xml create mode 100644 netforce_clinic/layouts/clinic_share_location.xml create mode 100644 netforce_clinic/models/share_location.py diff --git a/netforce_clinic/actions/clinic_share_location.xml b/netforce_clinic/actions/clinic_share_location.xml new file mode 100644 index 0000000..ba67009 --- /dev/null +++ b/netforce_clinic/actions/clinic_share_location.xml @@ -0,0 +1,6 @@ + + Share Location + form_popup + clinic.share.location + _popup + diff --git a/netforce_clinic/layouts/clinic_patient_form.xml b/netforce_clinic/layouts/clinic_patient_form.xml index fabca02..7549ce7 100644 --- a/netforce_clinic/layouts/clinic_patient_form.xml +++ b/netforce_clinic/layouts/clinic_patient_form.xml @@ -2,7 +2,7 @@ @@ -17,6 +17,7 @@ + @@ -95,6 +96,7 @@ --> + diff --git a/netforce_clinic/layouts/clinic_share_location.xml b/netforce_clinic/layouts/clinic_share_location.xml new file mode 100644 index 0000000..8da396c --- /dev/null +++ b/netforce_clinic/layouts/clinic_share_location.xml @@ -0,0 +1,20 @@ +
+ + + + + + + +