Medical Medicament
medical_medicament · OCA/vertical-medical
Health
50/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 105 months ago
-
Required by20/253 modules depend on it
-
Maturity5/25In 1 Odoo series since 10.0
Heuristic over the facts below, not an audit · How it's computed
Required by
3
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.05 MB
Module directory on disk
Code analysis
10 migration notes
4 models
11 views
0 HTTP endpoints
Migration considerations
MedicalDrugForm— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceMedicalDrugRoute— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceMedicalMedicament— Migrating to 17.0: `name_get` no longer feeds `display_name`: override `_compute_display_name` instead. migration-name-get · sourceMedicalMedicament— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (3 methods) migration-api-multi-one · sourcemedical_drug_form_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcemedical_drug_route_tree_view— 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`) 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
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- medical_medicament_attributes, medical_medication, medical_prescription
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 11
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
medical_drug_form_form_view |
medical.drug.form.form | medical.drug.form | form | New |
medical_drug_form_search_view |
medical.drug.form.search | medical.drug.form | search | New |
medical_drug_form_tree_view |
medical.drug.form.tree | medical.drug.form | tree | New |
medical_drug_route_form_view |
medical.drug.route.form | medical.drug.route | form | New |
medical_drug_route_search_view |
medical.drug.route.search | medical.drug.route | search | New |
medical_drug_route_tree_view |
medical.drug.route.tree | medical.drug.route | tree | New |
medical_medicament_search_view |
medical.medicament.search | medical.medicament | search | Inherits product.product_template_search_view |
medical_medicament_view_form |
medical.medicament.form | medical.medicament | form | Inherits product.product_template_form_view |
medical_medicament_view_tree |
medical.medicament.tree | medical.medicament | tree | Inherits product.product_product_tree_view |
product_template_form_view |
product.template.form (medical_medicament) | product.template | form | Inherits product.product_template_form_view |
view_product_product_search |
view_product_product_search (medical_medicament) | product.template | search | Inherits product.product_template_search_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (2)
-
codeChar -
nameCharrequired=Truetranslate=True
No public methods.
New fields (2)
-
codeChar -
nameCharrequired=Truetranslate=True
No public methods.
New fields (16)
-
active_componentChar -
adverse_reactionText -
compositionText -
dosage_instructionTextstring='Dosage Instructions' -
drug_form_idMany2one → medical.drug.formcomodel_name='medical.drug.form'required=Truestring='Drug Form' -
drug_route_idMany2one → medical.drug.routecomodel_name='medical.drug.route'string='Drug Route' -
indicationsText -
is_pregnantBooleanhelp='The drug represents risk to pregnancy or lactancy'string='Pregnancy Warning' -
notesText -
overdosageText -
pregnancyTextstring='Pregnancy and Lactancy' -
pregnancy_categorySelectionhelp='** FDA Pregancy Categories ***\nCATEGORY A :Adequate and well-controlled human studies havefailed to demonstrate a risk to the fetus in the firsttrimester of pregnancy (and there is no evidence of risk in later trimesters).\n\nCATEGORY B : Animal reproduction studies have failed to demonstrate a risk to the fetus and there are no adequate and well-controlled studies in pregnant women OR Animal studies have shown an adverse effect, but adequate and well-controlled studies in pregnant women have failed to demonstrate a risk to the fetus in any trimester.\n\nCATEGORY C : Animal reproduction studies have shown an adverse effect on the fetus and there are no adequate and well-controlled studies in humans, but potential benefits may warrant use of the drug in pregnant women despite potential risks. \n\n CATEGORY D : There is positive evidence of human fetal risk based on adverse reaction data from investigational or marketing experience or studies in humans, but potential benefits may warrant use of the drug in pregnant women despite potential risks.\n\nCATEGORY X : Studies in animals or humans have demonstrated fetal abnormalities and/or there is positive evidence of human fetal risk based on adverse reaction data from investigational or marketing experience, and the risks involved in use of the drug in pregnant women clearly outweigh potential benefits.\n\nCATEGORY N : Not yet classified' args: [('a', 'A'), ('b', 'B'), ('c', 'C'), ('d', 'D'), ('x', 'X'), ('n', 'N')] -
presentationText -
product_idMany2one → product.productcomodel_name='product.product'ondelete='cascade'required=True -
storageText -
therapeutic_actionChar
-
create(self, vals)@api.model@api.returns('self', <expr>) -
name_get(self)@api.multi -
onchange_type(self, _type)@api.multi -
onchange_uom(self, uom_id, uom_po_id)@api.multi
New fields (1)
-
is_medicamentBoolean
No public methods.