Medical Disease
medical_disease · OCA/vertical-medical
Health
45/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 105 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 10.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
GPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis
14 migration notes
5 models
13 views
0 HTTP endpoints
Migration considerations
MedicalPathology— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceMedicalPathologyCategory— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceMedicalPatient— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceMedicalPatientDisease— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (4 methods) migration-api-multi-one · sourcemedical_pathology_view_category_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcemedical_pathology_view_group_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcemedical_pathology_view_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcemedical_patient_view_disease_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourcemedical_patient_view_disease_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 13
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
medical_pathology_view_category_form |
medical.pathology.category.form | medical.pathology.category | form | New |
medical_pathology_view_category_search |
medical.pathology.category.search | medical.pathology.category | search | New |
medical_pathology_view_category_tree |
medical.pathology.category.tree | medical.pathology.category | tree | New |
medical_pathology_view_form |
medical.pathology.form | medical.pathology | form | New |
medical_pathology_view_group_form |
medical.pathology.group.form | medical.pathology.group | form | New |
medical_pathology_view_group_search |
medical.pathology.group.search | medical.pathology.group | search | New |
medical_pathology_view_group_tree |
medical.pathology.group.tree | medical.pathology.group | tree | New |
medical_pathology_view_search |
medical.pathology.search | medical.pathology | search | New |
medical_pathology_view_tree |
medical.pathology.tree | medical.pathology | tree | New |
medical_patient_view_disease_form |
medical.patient.disease.form | medical.patient.disease | form | New |
medical_patient_view_disease_search |
medical.patient.disease.search | medical.patient.disease | search | New |
medical_patient_view_disease_tree |
medical.patient.disease.tree | medical.patient.disease | tree | New |
medical_patient_view_form |
medical.patient.form (medical_disease) | medical.patient | form | Inherits medical.medical_patient_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (8)
-
category_idMany2one → medical.pathology.categorycomodel_name='medical.pathology.category'index=Truestring='Category of Pathology' -
chromosomeCharstring='Affected Chromosome' -
codeCharrequired=True -
geneChar -
medical_pathology_group_m2m_idsMany2many → medical.pathology.groupcolmun2='pathology_group_id'column1='pathology_id'comodel_name='medical.pathology.group'relation='pathology_id_pathology_group_id_rel'string='Medical Pathology Groups' -
nameCharrequired=Truetranslate=True -
notesTexttranslate=True -
proteinCharstring='Protein involved'
No public methods.
New fields (3)
-
child_idsOne2many → medical.pathology.categorycomodel_name='medical.pathology.category'inverse_name='parent_id'string='Children Categories' -
nameCharrequired=Truetranslate=True -
parent_idMany2one → medical.pathology.categorycomodel_name='medical.pathology.category'index=Truestring='Parent Category'
No public methods.
New fields (4)
-
codeCharhelp='for example MDG6 code will contain the Millennium Development Goals # 6 diseases : Tuberculosis, Malaria and HIV/AIDS'required=True -
descriptionTextrequired=Truestring='Short Description'translate=True -
nameCharrequired=Truetranslate=True -
notesTexttranslate=True
No public methods.
New fields (2)
-
count_disease_idsIntegercompute='compute_count_disease_ids'string='NB. Disease' -
disease_idsOne2many → medical.patient.diseasecomodel_name='medical.patient.disease'inverse_name='patient_id'string='Diseases'
-
action_invalidate(self)@api.one -
compute_count_disease_ids(self)@api.one
New fields (23)
-
activeBooleandefault=True -
ageIntegerstring='Age when diagnosed' -
allergy_typeSelectionargs: [('da', 'Drug Allergy'), ('fa', 'Food Allergy'), ('ma', 'Misc Allergy'), ('mc', 'Misc Contraindication')] -
diagnosed_dateDatestring='Date of Diagnosis' -
disease_severitySelectionstring='Severity' args: [('1_mi', 'Mild'), ('2_mo', 'Moderate'), ('3_sv', 'Severe')] -
expire_dateDatetimecompute='_compute_expire_date'store=True -
healed_dateDatestring='Date of Healing' -
is_allergyBooleanstring='Allergic Disease' -
is_infectiousBooleanstring='Infectious Disease' -
is_on_treatmentBooleanstring='Currently on Treatment' -
is_pregnantBooleanstring='Pregnancy warning' -
nameCharcompute='_compute_name'store=True -
notesText -
pathology_idMany2one → medical.pathologycomodel_name='medical.pathology'index=Truerequired=Truestring='Pathology' -
patient_idMany2one → medical.patientcomodel_name='medical.patient'index=Truerequired=Truestring='Patient' -
physician_idMany2one → medical.physiciancomodel_name='medical.physician'index=Truestring='Physician' -
pregnancy_warningBoolean -
short_commentChar -
stateSelectionstring='Status of the disease' args: [('a', 'Acute'), ('c', 'Chronic'), ('u', 'Unchanged'), ('h', 'Healed'), ('i', 'Improving'), ('w', 'Worsening')] -
treatment_descriptionChar -
treatment_end_dateDate -
treatment_start_dateDate -
weeks_of_pregnancyIntegerhelp='Week number of pregnancy when disease contracted'string='Pregnancy Week#'
-
action_invalidate(self)@api.one -
action_revalidate(self)@api.one