diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1e4cd43 --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +*.pyc +*/models_js/* +*/templates_js/* +*/actions_js/* +*/templates_c/* +*/actions_c/* +*/views_c/* +*/xml_views_js/* +*/xml_views_c/* +*.egg-info/* +*/static/js/* +*/static/css/* +dist/* +*.swp diff --git a/netforce_clinic/__init__.py b/netforce_clinic/__init__.py index f7209b1..4ae5aea 100644 --- a/netforce_clinic/__init__.py +++ b/netforce_clinic/__init__.py @@ -1,2 +1,3 @@ from . import models +from . import migrations from . import controllers diff --git a/netforce_clinic/__pycache__/__init__.cpython-32.pyc b/netforce_clinic/__pycache__/__init__.cpython-32.pyc deleted file mode 100644 index b14183e..0000000 Binary files a/netforce_clinic/__pycache__/__init__.cpython-32.pyc and /dev/null differ diff --git a/netforce_clinic/controllers/__pycache__/__init__.cpython-32.pyc b/netforce_clinic/controllers/__pycache__/__init__.cpython-32.pyc index 6fd7563..ccf8cbc 100644 Binary files a/netforce_clinic/controllers/__pycache__/__init__.cpython-32.pyc and b/netforce_clinic/controllers/__pycache__/__init__.cpython-32.pyc differ diff --git a/netforce_clinic/layouts/clinic_main_menu.xml b/netforce_clinic/layouts/clinic_main_menu.xml index f0c25ec..828ae46 100644 --- a/netforce_clinic/layouts/clinic_main_menu.xml +++ b/netforce_clinic/layouts/clinic_main_menu.xml @@ -1,5 +1,5 @@ - + diff --git a/netforce_clinic/migrations/__init__.py b/netforce_clinic/migrations/__init__.py new file mode 100644 index 0000000..d2ad46a --- /dev/null +++ b/netforce_clinic/migrations/__init__.py @@ -0,0 +1 @@ +from . import clinic_setting diff --git a/netforce_clinic/migrations/clinic_setting.py b/netforce_clinic/migrations/clinic_setting.py new file mode 100644 index 0000000..ae6d4dd --- /dev/null +++ b/netforce_clinic/migrations/clinic_setting.py @@ -0,0 +1,14 @@ +from netforce.model import get_model +from netforce import migration + +class Migration(migration.Migration): + _name="clinic.setting" + _version="1.180.0" + + def migrate(self): + res=get_model("clinic.setting").search([]) + if res: + return + get_model("clinic.setting").create({}) + +Migration.register() diff --git a/netforce_clinic/models/__pycache__/__init__.cpython-32.pyc b/netforce_clinic/models/__pycache__/__init__.cpython-32.pyc deleted file mode 100644 index 652a9d8..0000000 Binary files a/netforce_clinic/models/__pycache__/__init__.cpython-32.pyc and /dev/null differ diff --git a/netforce_clinic/models/__pycache__/clinic_dialyzer.cpython-32.pyc b/netforce_clinic/models/__pycache__/clinic_dialyzer.cpython-32.pyc deleted file mode 100644 index 1765c8b..0000000 Binary files a/netforce_clinic/models/__pycache__/clinic_dialyzer.cpython-32.pyc and /dev/null differ diff --git a/netforce_clinic/models/__pycache__/clinic_doctor.cpython-32.pyc b/netforce_clinic/models/__pycache__/clinic_doctor.cpython-32.pyc deleted file mode 100644 index 0e2e4cc..0000000 Binary files a/netforce_clinic/models/__pycache__/clinic_doctor.cpython-32.pyc and /dev/null differ diff --git a/netforce_clinic/models/__pycache__/clinic_hd_case.cpython-32.pyc b/netforce_clinic/models/__pycache__/clinic_hd_case.cpython-32.pyc deleted file mode 100644 index cd25e8b..0000000 Binary files a/netforce_clinic/models/__pycache__/clinic_hd_case.cpython-32.pyc and /dev/null differ diff --git a/netforce_clinic/models/__pycache__/clinic_hd_case_line.cpython-32.pyc b/netforce_clinic/models/__pycache__/clinic_hd_case_line.cpython-32.pyc deleted file mode 100644 index 3f921ad..0000000 Binary files a/netforce_clinic/models/__pycache__/clinic_hd_case_line.cpython-32.pyc and /dev/null differ diff --git a/netforce_clinic/models/__pycache__/clinic_hd_case_line_detail.cpython-32.pyc b/netforce_clinic/models/__pycache__/clinic_hd_case_line_detail.cpython-32.pyc deleted file mode 100644 index 7304bc9..0000000 Binary files a/netforce_clinic/models/__pycache__/clinic_hd_case_line_detail.cpython-32.pyc and /dev/null differ diff --git a/netforce_clinic/models/__pycache__/clinic_nurse.cpython-32.pyc b/netforce_clinic/models/__pycache__/clinic_nurse.cpython-32.pyc deleted file mode 100644 index 3d59319..0000000 Binary files a/netforce_clinic/models/__pycache__/clinic_nurse.cpython-32.pyc and /dev/null differ diff --git a/netforce_clinic/models/__pycache__/clinic_patient.cpython-32.pyc b/netforce_clinic/models/__pycache__/clinic_patient.cpython-32.pyc deleted file mode 100644 index c4ac44b..0000000 Binary files a/netforce_clinic/models/__pycache__/clinic_patient.cpython-32.pyc and /dev/null differ diff --git a/netforce_clinic/models/__pycache__/clinic_setting.cpython-32.pyc b/netforce_clinic/models/__pycache__/clinic_setting.cpython-32.pyc deleted file mode 100644 index c47bbd5..0000000 Binary files a/netforce_clinic/models/__pycache__/clinic_setting.cpython-32.pyc and /dev/null differ diff --git a/netforce_clinic/models/__pycache__/clinic_visit.cpython-32.pyc b/netforce_clinic/models/__pycache__/clinic_visit.cpython-32.pyc deleted file mode 100644 index f892923..0000000 Binary files a/netforce_clinic/models/__pycache__/clinic_visit.cpython-32.pyc and /dev/null differ