From 609f6cfc03430ad79ef2d84915222e9b0f952e5e Mon Sep 17 00:00:00 2001 From: David Janssens Date: Tue, 19 Aug 2014 12:49:02 +0700 Subject: [PATCH] first --- actions/hos_board.json | 7 +++++++ actions/hos_patient.json | 7 +++++++ actions/hos_visit.json | 7 +++++++ layouts/hos_board.xml | 2 ++ layouts/hos_main_menu.xml | 5 +++++ layouts/hos_menu.xml | 5 +++++ layouts/patient_form.xml | 8 ++++++++ layouts/patient_list.xml | 5 +++++ layouts/visit_form.xml | 12 ++++++++++++ layouts/visit_list.xml | 5 +++++ models/hos_patient.xml | 7 +++++++ models/hos_visit.xml | 7 +++++++ module.json | 5 +++++ scripts/hospital.py | 22 ++++++++++++++++++++++ 14 files changed, 104 insertions(+) create mode 100644 actions/hos_board.json create mode 100644 actions/hos_patient.json create mode 100644 actions/hos_visit.json create mode 100644 layouts/hos_board.xml create mode 100644 layouts/hos_main_menu.xml create mode 100644 layouts/hos_menu.xml create mode 100644 layouts/patient_form.xml create mode 100644 layouts/patient_list.xml create mode 100644 layouts/visit_form.xml create mode 100644 layouts/visit_list.xml create mode 100644 models/hos_patient.xml create mode 100644 models/hos_visit.xml create mode 100644 module.json create mode 100644 scripts/hospital.py diff --git a/actions/hos_board.json b/actions/hos_board.json new file mode 100644 index 0000000..26a2d36 --- /dev/null +++ b/actions/hos_board.json @@ -0,0 +1,7 @@ +{ + "name": "hos_board", + "view": "board", + "string": "Dashboard", + "view_layout": "hos_board", + "menu": "hos_menu" +} \ No newline at end of file diff --git a/actions/hos_patient.json b/actions/hos_patient.json new file mode 100644 index 0000000..347d1d8 --- /dev/null +++ b/actions/hos_patient.json @@ -0,0 +1,7 @@ +{ + "name": "hos_patient", + "view": "multi_view", + "string": "Patients", + "model": "hos.patient", + "menu": "hos_menu" +} \ No newline at end of file diff --git a/actions/hos_visit.json b/actions/hos_visit.json new file mode 100644 index 0000000..7c8f4bf --- /dev/null +++ b/actions/hos_visit.json @@ -0,0 +1,7 @@ +{ + "name": "hos_visit", + "view": "multi_view", + "string": "Visits", + "model": "hos.visit", + "menu": "hos_menu" +} \ No newline at end of file diff --git a/layouts/hos_board.xml b/layouts/hos_board.xml new file mode 100644 index 0000000..1b1ae4d --- /dev/null +++ b/layouts/hos_board.xml @@ -0,0 +1,2 @@ + + diff --git a/layouts/hos_main_menu.xml b/layouts/hos_main_menu.xml new file mode 100644 index 0000000..253aa7c --- /dev/null +++ b/layouts/hos_main_menu.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/layouts/hos_menu.xml b/layouts/hos_menu.xml new file mode 100644 index 0000000..f3a6783 --- /dev/null +++ b/layouts/hos_menu.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/layouts/patient_form.xml b/layouts/patient_form.xml new file mode 100644 index 0000000..7cacf51 --- /dev/null +++ b/layouts/patient_form.xml @@ -0,0 +1,8 @@ +
+ + + + + + + diff --git a/layouts/patient_list.xml b/layouts/patient_list.xml new file mode 100644 index 0000000..d9501dc --- /dev/null +++ b/layouts/patient_list.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/layouts/visit_form.xml b/layouts/visit_form.xml new file mode 100644 index 0000000..74adab1 --- /dev/null +++ b/layouts/visit_form.xml @@ -0,0 +1,12 @@ +
+ + + + + + + + +