Odoo Medical

by ,
Odoo 1
v 10.0 Third Party 3224
Download for 10.0 series Deploy on Odoo.sh
You bought this module and need support ? Click here !
Technical name medical
LicenseAGPL-3
Websitehttps://odoo-community.org/
Repositorygit@github.com:OCA/vertical-medical#10.0
Read description for v 9.0
Included Dependencies Personal information page for contacts
Contact gender
Contact's birthdate
Partner first name and last name
Partner Identification Numbers
License: AGPL-3

Odoo Medical

This module extends Odoo with the base functionality of medical patients.

Installation

This module depends on modules located in the following repos: * https://github.com/OCA/partner-contact

Check the __manifest__.py for the specific dependencies.

Usage

Patients

Patients are available in the Medical App, in the Patients submenu.

Medical Abstract Entity

The Medical Abstract Entity (medical.abstract.entity) is an AbstractModel that provides for a central base that all medical entities should inherit from.

A Medical Entity is any partner that also requires a medical context. Examples:

  • MedicalCenter
  • MedicalPatient
  • MedicalPhysician
  • MedicalPharmacy

Some base views are also provided in order to make it easy to create new medical entities & maintain uniformity between them:

  • Kanban - medical_asbsract_entity_view_kanban
  • Tree - medical_asbsract_entity_view_tree
  • Form - medical_asbsract_entity_view_form
  • Search - medical_asbsract_entity_view_search

When inheriting these views, you must define the inheritance mode as primary, such as in the following example:

<record id="medical_patient_view_tree" model="ir.ui.view">

<field name="name">medical.patient.tree</field> <field name="model">medical.patient</field> <field name="inherit_id" ref="medical_abstract_entity_view_tree" /> <field name="mode">primary</field> <field name="arch" type="xml">

<xpath expr="//tree" position="attributes">
<attribute name="string">Patients</attribute>

</xpath> <xpath expr="//field[@name='email']" position="after">

<field name="identification_code" /> <field name="age" /> <field name="gender" />

</xpath>

</field>

</record>

Take a look at medical/views/medical_patient.xml, or any of the other medical entity views for more examples.

Try me on Runbot

Known issues / Roadmap

  • There is a singleton issue with the ID numbers pass-thru & crossing could occur.
  • v11 - Move Marital status into a new module in OCA/partner-contact

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Credits

Images

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit http://odoo-community.org.

Please log in to comment on this module

Odoo
Error create new patient in Medical Odoo module v.10
by on

I can open in Odoo 10 , and I just installed Medical app , and when i try to creat a new patient, but it displayed error : Error: NameError: name 'supplier' is not defined http://192.168.1.100:8069/web/content/4093-8cb3364/web.assets_backend.js:1326 Retraçage : Error: NameError: name 'supplier' is not defined at PY_ensurepy (http://192.168.1.100:8069/web/content/4093-8cb3364/web.assets_backend.js:1326:65) at Object.py.evaluate (http://192.168.1.100:8069/web/content/4093-8cb3364/web.assets_backend.js:1441:8) at Object.py.evaluate (http://192.168.1.100:8069/web/content/4093-8cb3364/web.assets_backend.js:1450:194) at Object.py.eval (http://192.168.1.100:8069/web/content/4093-8cb3364/web.assets_backend.js:1454:284) at http://192.168.1.100:8069/web/content/4093-8cb3364/web.assets_backend.js:1593:110 at iterator (http://192.168.1.100:8069/web/content/3207-a962549/web.assets_common.js:14:183) at Function. (http://192.168.1.100:8069/web/content/3207-a962549/web.assets_common.js:17:8) at _.(anonymous function) [as reduce] (http://192.168.1.100:8069/web/content/3207-a962549/web.assets_common.js:69:526) at eval_contexts (http://192.168.1.100:8069/web/content/4093-8cb3364/web.assets_backend.js:1591:136) at http://192.168.1.100:8069/web/content/4093-8cb3364/web.assets_backend.js:1593:253.. how to solve this problem?

Odoo
Error when creat new patient of Medical Odoo 10
by on

I just installed Medical app , and when i try to creat a new patient, it displayed error like bellow : Uncaught Error: NameError: name 'supplier' is not defined

Odoo
Error when creat a new patient
by on

I work with Odoo 10 , I just installed Medical app , and when i try to creat a new patient, it displayed error like bellow : Uncaught Error: NameError: name 'supplier' is not defined http://192.168.1.100:8069/web/content/4093-8cb3364/web.assets_backend.js:1326 Retraçage : Error: NameError: name 'supplier' is not defined at PY_ensurepy (http://192.168.1.100:8069/web/content/4093-8cb3364/web.assets_backend.js:1326:65) at Object.py.evaluate (http://192.168.1.100:8069/web/content/4093-8cb3364/web.assets_backend.js:1441:8) at Object.py.evaluate (http://192.168.1.100:8069/web/content/4093-8cb3364/web.assets_backend.js:1450:194) at Object.py.eval (http://192.168.1.100:8069/web/content/4093-8cb3364/web.assets_backend.js:1454:284) at http://192.168.1.100:8069/web/content/4093-8cb3364/web.assets_backend.js:1593:110 at iterator (http://192.168.1.100:8069/web/content/3207-a962549/web.assets_common.js:14:183) at Function. (http://192.168.1.100:8069/web/content/3207-a962549/web.assets_common.js:17:8) at _.(anonymous function) [as reduce] (http://192.168.1.100:8069/web/content/3207-a962549/web.assets_common.js:69:526) at eval_contexts (http://192.168.1.100:8069/web/content/4093-8cb3364/web.assets_backend.js:1591:136) at http://192.168.1.100:8069/web/content/4093-8cb3364/web.assets_backend.js:1593:253