Repository
OCA/vertical-medical · module folder · Try on Runboat
Module version
1.0.0
Category
Medical
Folder size
0.05 MB
License
GPL-3
Application
No
Auto-installable
No
Website
http://www.acsone.eu
Last tracking update
2026-08-07 07:17:46
Authors
ACSONE SA/NV, Odoo Community Association (OCA)
Maintainers
ACSONE SA/NV, Odoo Community Association (OCA)
Committers
Pedro M. Baeza, Jordi Ballester, Dave Lasley, Jonathan Nemry (ACSONE)
Odoo dependencies
OCA/server-tools:
OCA/vertical-medical:
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
medical_medicament_attributes, medical_medication, medical_prescription
Description

Code Analysis

Views touched (11)
XML IDNameModelTypeStatus
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)
  • code Char
  • name Char
    required=True translate=True
Public methods (0)

No public methods.

New fields (2)
  • code Char
  • name Char
    required=True translate=True
Public methods (0)

No public methods.

New fields (16)
  • active_component Char
  • adverse_reaction Text
  • composition Text
  • dosage_instruction Text
    string='Dosage Instructions'
  • drug_form_id Many2one → medical.drug.form
    comodel_name='medical.drug.form' required=True string='Drug Form'
  • drug_route_id Many2one → medical.drug.route
    comodel_name='medical.drug.route' string='Drug Route'
  • indications Text
  • is_pregnant Boolean
    help='The drug represents risk to pregnancy or lactancy' string='Pregnancy Warning'
  • notes Text
  • overdosage Text
  • pregnancy Text
    string='Pregnancy and Lactancy'
  • pregnancy_category Selection
    help='** 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')]
  • presentation Text
  • product_id Many2one → product.product
    comodel_name='product.product' ondelete='cascade' required=True
  • storage Text
  • therapeutic_action Char
Public methods (4)
  • 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_medicament Boolean
Public methods (0)

No public methods.