Medical Medicament

medical_medicament
REPOSITORY
REPOSITORYOCA/vertical-medical
GIT
GIThttps://github.com/OCA/vertical-medical.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-medical/tree/10.0/medical_medicament
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYMedical
LICENSE
LICENSEGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSPedro M. Baeza, Jordi Ballester, Dave Lasley, Jonathan Nemry (ACSONE)
WEBSITE
WEBSITEhttp://www.acsone.eu
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_locale_uom_default
OCA/vertical-medical:
    - medical
odoo/odoo:
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits product.product_template_search_view
medical_medicament_view_form medical.medicament.form medical.medicament xpath Inherits product.product_template_form_view
medical_medicament_view_tree medical.medicament.tree medical.medicament xpath Inherits product.product_product_tree_view
product_template_form_view product.template.form (medical_medicament) product.template xpath Inherits product.product_template_form_view
view_product_product_search view_product_product_search (medical_medicament) product.template xpath Inherits product.product_template_search_view
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.