@ -0,0 +1,53 @@ |
|||
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg |
|||
:target: https://www.gnu.org/licenses/agpl-3.0-standalone.html |
|||
:alt: License: AGPL-3 |
|||
|
|||
Medical Lab Management |
|||
====================== |
|||
Helps You To Manage Medical Lab Operations. |
|||
|
|||
Configuration |
|||
============ |
|||
- www.odoo.com/documentation/16.0/setup/install.html |
|||
- Install our custom addon |
|||
|
|||
Company |
|||
------- |
|||
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
|||
|
|||
License |
|||
------- |
|||
GNU AFFERO GENERAL PUBLIC LICENSE, Version 3 (AGPLv3) |
|||
(https://www.gnu.org/licenses/agpl-3.0-standalone.html) |
|||
|
|||
Credits |
|||
------- |
|||
* Developers: Anusha P P, |
|||
Niyas Raphy, |
|||
(V14) Muhammad P, |
|||
(V15) Mily Shajan, |
|||
(V16) Sabeel B, |
|||
(V17) Sruthi Pavithran |
|||
Contact: odoo@cybrosys.com |
|||
|
|||
Contacts |
|||
-------- |
|||
* Mail Contact : odoo@cybrosys.com |
|||
* Website : https://cybrosys.com |
|||
|
|||
Bug Tracker |
|||
----------- |
|||
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. |
|||
|
|||
Maintainer |
|||
========== |
|||
.. image:: https://cybrosys.com/images/logo.png |
|||
:target: https://cybrosys.com |
|||
|
|||
This module is maintained by Cybrosys Technologies. |
|||
|
|||
For support and more information, please visit `Our Website <https://cybrosys.com/>`__ |
|||
|
|||
Further information |
|||
=================== |
|||
HTML Description: `<static/description/index.html>`__ |
@ -0,0 +1,22 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sruthi Pavithran (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from . import models |
@ -0,0 +1,60 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sruthi Pavithran (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
{ |
|||
'name': "Medical Lab Management", |
|||
'version': '17.0.1.0.0', |
|||
'category': 'Industries', |
|||
'summary': """Manage Medical Lab Operations.""", |
|||
'description': """Manage Medical Laboratory Operations, |
|||
Manage Appointments.""", |
|||
'author': "Cybrosys Techno Solutions", |
|||
'company': "Cybrosys Techno Solutions", |
|||
'maintainer': 'Cybrosys Techno Solutions', |
|||
'website': "https://www.cybrosys.com", |
|||
'depends': ['base', 'mail', 'account', 'contacts'], |
|||
'data': [ |
|||
'security/medical_lab_management_security.xml', |
|||
'security/ir.model.access.csv', |
|||
'data/lab_appointment_sequence.xml', |
|||
'data/lab_patient_sequence.xml', |
|||
'data/lab_request_sequence.xml', |
|||
'views/res_partner_views.xml', |
|||
'views/lab_patient_views.xml', |
|||
'views/test_unit_views.xml', |
|||
'views/lab_test_views.xml', |
|||
'views/lab_test_content_type_views.xml', |
|||
'views/physician_specialty_views.xml', |
|||
'views/physician_details.xml', |
|||
'views/lab_request_views.xml', |
|||
'views/lab_appointment_views.xml', |
|||
'views/account_move_views.xml', |
|||
'report/lab_request_reports.xml', |
|||
'report/lab_patient_reports.xml', |
|||
'report/lab_request_templates.xml', |
|||
'report/lab_patient_templates.xml', |
|||
], |
|||
'images': ['static/description/banner.jpg'], |
|||
'license': 'AGPL-3', |
|||
'installable': True, |
|||
'auto_install': False, |
|||
'application': True, |
|||
} |
@ -0,0 +1,13 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<odoo> |
|||
<!-- Creating sequence for lab appointment--> |
|||
<data noupdate="1"> |
|||
<record id="lab_appointment_sequence" model="ir.sequence"> |
|||
<field name="name">Appointment</field> |
|||
<field name="code">lab.appointment</field> |
|||
<field name="prefix">ID</field> |
|||
<field name="padding">3</field> |
|||
<field name="company_id" eval="False"/> |
|||
</record> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,13 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<odoo> |
|||
<!-- Creating sequence for lab patient--> |
|||
<data noupdate="1"> |
|||
<record id="lab_patient_sequence" model="ir.sequence"> |
|||
<field name="name">Patient</field> |
|||
<field name="code">lab.patient</field> |
|||
<field name="prefix">PID</field> |
|||
<field name="padding">3</field> |
|||
<field name="company_id" eval="False"/> |
|||
</record> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,13 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<odoo> |
|||
<!-- Creating sequence for lab request--> |
|||
<data noupdate="1"> |
|||
<record id="lab_request_sequence" model="ir.sequence"> |
|||
<field name="name">Lab Request</field> |
|||
<field name="code">lab.request</field> |
|||
<field name="prefix">LR</field> |
|||
<field name="padding">3</field> |
|||
<field name="company_id" eval="False"/> |
|||
</record> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,6 @@ |
|||
## Module <medical_lab_management> |
|||
|
|||
#### 07.02.2024 |
|||
#### Version 17.0.1.0.0 |
|||
#### ADD |
|||
- Initial Commit for Medical Lab Management. |
@ -0,0 +1,32 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sruthi Pavithran (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from . import account_move |
|||
from . import lab_appointment |
|||
from . import lab_appointment_lines |
|||
from . import lab_patient |
|||
from . import lab_request |
|||
from . import lab_test_content_type |
|||
from . import lab_test_attribute |
|||
from . import lab_test |
|||
from . import physician_speciality |
|||
from . import res_partner |
|||
from . import test_unit |
@ -0,0 +1,48 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sruthi Pavithran (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from odoo import fields, models |
|||
|
|||
|
|||
class AccountMove(models.Model): |
|||
""" |
|||
This class inherits the 'account.move' model to add fields for lab |
|||
invoices. |
|||
""" |
|||
_inherit = 'account.move' |
|||
|
|||
is_lab_invoice = fields.Boolean(string="Is Lab Invoice", |
|||
help="Is it Lab Invoice or Not") |
|||
lab_request_id = fields.Many2one('lab.appointment', |
|||
string="Lab Appointment", |
|||
help="Source Document") |
|||
|
|||
def _invoice_paid_hook(self): |
|||
""" |
|||
This function extends the behavior of the 'action_post' |
|||
method to update the state of the associated Lab Appointment to |
|||
'invoiced' when the invoice is marked as paid. |
|||
:param self: The record itself. |
|||
""" |
|||
res = super(AccountMove, self)._invoice_paid_hook() |
|||
for rec in self: |
|||
rec.lab_request_id.write({'state': 'invoiced'}) |
|||
return res |
@ -0,0 +1,215 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sruthi Pavithran (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
import datetime |
|||
from odoo.exceptions import UserError |
|||
from odoo import api, fields, models, _ |
|||
|
|||
|
|||
class LabAppointment(models.Model): |
|||
""" |
|||
Model for managing lab appointments.This class defines the structure a |
|||
nd behavior of lab appointments, including the creation of invoices and |
|||
lab test requests. |
|||
""" |
|||
_name = 'lab.appointment' |
|||
_inherit = ['mail.thread'] |
|||
_rec_name = 'name' |
|||
_description = "Appointment" |
|||
_order = 'appointment_date' |
|||
|
|||
user_id = fields.Many2one('res.users', |
|||
'Responsible', readonly=True) |
|||
patient_id = fields.Many2one('lab.patient', |
|||
string='Patient', required=True, select=True, |
|||
help='Patient Name') |
|||
name = fields.Char(string='Appointment ID', readonly=True, |
|||
default=lambda self: _('New')) |
|||
date = fields.Datetime(string='Requested Date', |
|||
default=lambda s: fields.Datetime.now(), |
|||
help="date in which patient appointment is noted") |
|||
appointment_date = fields.Datetime(string='Appointment Date', |
|||
default=lambda s: fields.Datetime.now(), |
|||
help="This is the appointment date") |
|||
physician_id = fields.Many2one('res.partner', |
|||
string='Referred By', |
|||
select=True) |
|||
comment = fields.Text(string='Comments') |
|||
appointment_line_ids = fields.One2many('lab.appointment.lines', |
|||
'test_line_appointment_id', |
|||
string="Test Request") |
|||
request_count = fields.Integer(compute="_compute_state", |
|||
string='# of Requests', copy=False, |
|||
default=0) |
|||
inv_count = fields.Integer(compute="_compute_state", |
|||
string='# of Invoices', copy=False, default=0) |
|||
state = fields.Selection([ |
|||
('draft', 'Draft'), |
|||
('confirm', 'Confirmed'), |
|||
('request_lab', 'Lab Requested'), |
|||
('completed', 'Test Result'), |
|||
('to_invoice', 'To Invoice'), |
|||
('invoiced', 'Done'), |
|||
('cancel', 'Cancelled'), |
|||
], string='Status', readonly=True, copy=False, index=True, tracking=True, |
|||
default='draft', |
|||
) |
|||
priority = fields.Selection([ |
|||
('0', 'Low'), |
|||
('1', 'Normal'), |
|||
('2', 'High') |
|||
], size=1) |
|||
_defaults = { |
|||
'priority': '0', |
|||
} |
|||
|
|||
@api.model |
|||
def create(self, vals): |
|||
""" |
|||
Create a new lab appointment record.This method creates a new lab |
|||
appointment record and assigns a unique appointment ID to it. |
|||
:param self: The record itself. |
|||
:param dict vals: A dictionary of values for creating the lab |
|||
appointment record. |
|||
:return: The created lab appointment record. |
|||
:rtype: LabAppointment |
|||
|
|||
""" |
|||
if vals: |
|||
vals['name'] = self.env['ir.sequence'].next_by_code( |
|||
'lab.appointment') or _('New') |
|||
result = super(LabAppointment, self).create(vals) |
|||
return result |
|||
|
|||
def _compute_state(self): |
|||
""" |
|||
Compute the number of test requests and invoices related to the |
|||
appointment.This method calculates and updates the counts of test |
|||
requests and invoices associated with the appointment. |
|||
:param self: The record itself. |
|||
""" |
|||
for obj in self: |
|||
obj.request_count = self.env['lab.request'].search_count( |
|||
[('app_id', '=', obj.id)]) |
|||
obj.inv_count = self.env['account.move'].search_count( |
|||
[('lab_request_id', '=', obj.id)]) |
|||
|
|||
def action_create_invoice(self): |
|||
""" |
|||
Create an invoice for the lab appointment.This method creates an |
|||
invoice for the lab appointment and adds invoice lines for the |
|||
selected lab tests. |
|||
:param self: The record itself. |
|||
""" |
|||
account_move = self.env["account.move"] |
|||
for lab in self: |
|||
lab.write({'state': 'to_invoice'}) |
|||
curr_invoice = { |
|||
'partner_id': lab.patient_id.patient.id, |
|||
'state': 'draft', |
|||
'move_type': 'out_invoice', |
|||
'invoice_date': str(datetime.datetime.now()), |
|||
'invoice_origin': "Lab Test# : " + lab.name, |
|||
'lab_request_id': lab.id, |
|||
'is_lab_invoice': True, |
|||
} |
|||
inv_ids = account_move.create(curr_invoice) |
|||
inv_id = inv_ids.id |
|||
if inv_ids: |
|||
journal = self.env['account.journal'].search( |
|||
[('type', '=', 'sale')], limit=1) |
|||
prd_account_id = journal.default_account_id.id |
|||
list_value = [] |
|||
if lab.appointment_line_ids: |
|||
for line in lab.appointment_line_ids: |
|||
list_value.append((0, 0, { |
|||
'name': line.lab_test_id.lab_test, |
|||
'price_unit': line.cost, |
|||
'quantity': 1.0, |
|||
'account_id': prd_account_id, |
|||
'move_id': inv_id, |
|||
})) |
|||
inv_ids.write({'invoice_line_ids': list_value}) |
|||
view_id = self.env.ref('account.view_move_form').id |
|||
return { |
|||
'view_mode': 'form', |
|||
'res_model': 'account.move', |
|||
'view_id': view_id, |
|||
'type': 'ir.actions.act_window', |
|||
'name': _('Lab Invoices'), |
|||
'res_id': inv_id |
|||
} |
|||
|
|||
def action_request(self): |
|||
""" |
|||
Create lab test requests for the selected lab tests.This method |
|||
creates lab test requests for the selected lab tests associated |
|||
with the appointment |
|||
:param self: The record itself. |
|||
""" |
|||
if self.appointment_line_ids: |
|||
for line in self.appointment_line_ids: |
|||
lab_test = self.env['lab.test'].search( |
|||
[('lab_test', '=', line.lab_test_id.lab_test)]) |
|||
self.env['lab.request'].create( |
|||
{'lab_request_id': self.name, |
|||
'app_id': self.id, |
|||
'lab_requestor': self.patient_id.id, |
|||
'lab_requesting_date': self.appointment_date, |
|||
'test_request': line.lab_test_id.id, |
|||
'request_line': [(6, 0, |
|||
[x.id for x in lab_test.test_lines])], |
|||
}) |
|||
self.state = 'request_lab' |
|||
else: |
|||
raise UserError(_('Please Select Lab Test.')) |
|||
|
|||
def action_confirm_appointment(self): |
|||
""" |
|||
Confirm the lab appointment and send a confirmation email to the |
|||
patient. |
|||
:param self: The record itself. |
|||
""" |
|||
message_body = ("Dear " + |
|||
self.patient_id.patient.name + "," + |
|||
"<br>Your Appointment Has been Confirmed " + |
|||
"<br>Appointment ID : " + self.name + |
|||
"<br>Date : " + str(self.appointment_date) + |
|||
'<br><br>Thank you') |
|||
template_obj = self.env['mail.mail'] |
|||
template_data = { |
|||
'subject': 'Appointment Confirmation', |
|||
'body_html': message_body, |
|||
'email_from': 'michaelmorbius915@gmail.com', |
|||
'email_to': self.patient_id.email |
|||
} |
|||
template_id = template_obj.create(template_data) |
|||
template_obj.send(template_id) |
|||
self.write({'state': 'confirm'}) |
|||
|
|||
def action_cancel_appointment(self): |
|||
""" |
|||
Cancel the lab appointment.This method cancels the lab appointment |
|||
by setting its state to 'cancel'. |
|||
:param self: The record itself. |
|||
""" |
|||
return self.write({'state': 'cancel'}) |
|||
|
@ -0,0 +1,47 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sruthi Pavithran (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from odoo import api, fields, models |
|||
|
|||
|
|||
class LabAppointmentLines(models.Model): |
|||
""" |
|||
This class represents Lab Appointment Lines, which are individual |
|||
tests associated with a Lab Appointment. |
|||
""" |
|||
_name = 'lab.appointment.lines' |
|||
_description = 'Lab Appointment ' |
|||
|
|||
lab_test_id = fields.Many2one('lab.test', string="Test") |
|||
cost = fields.Float(string="Cost", help="Cost of the lab test") |
|||
requesting_date = fields.Date(string="Date", |
|||
help="Requesting date of lab test") |
|||
test_line_appointment_id = fields.Many2one('lab.appointment', |
|||
string="Appointment") |
|||
|
|||
@api.onchange('lab_test_id') |
|||
def cost_update(self): |
|||
""" |
|||
Update the 'cost' field when a Lab Test is selected. |
|||
:param self: The record itself. |
|||
""" |
|||
if self.lab_test_id: |
|||
self.cost = self.lab_test_id.test_cost |
@ -0,0 +1,108 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sruthi Pavithran (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from dateutil.relativedelta import relativedelta |
|||
from odoo import api, fields, models, _ |
|||
|
|||
|
|||
class LabPatient(models.Model): |
|||
""" |
|||
This class represents Patient information in a laboratory system. |
|||
""" |
|||
_name = 'lab.patient' |
|||
_rec_name = 'patient' |
|||
_description = 'Patient' |
|||
|
|||
patient = fields.Many2one('res.partner', string='Partner', |
|||
required=True) |
|||
patient_image = fields.Binary(string='Photo', |
|||
help="Profile image for patient") |
|||
patient_id = fields.Char(string='Patient ID', readonly=True) |
|||
name = fields.Char(string='Patient ID', default=lambda self: _('New')) |
|||
title = fields.Selection([ |
|||
('ms', 'Miss'), |
|||
('mister', 'Mister'), |
|||
('mrs', 'Mrs'), |
|||
], string='Title', default='mister', required=True) |
|||
emergency_contact = fields.Many2one( |
|||
'res.partner', string='Emergency Contact', |
|||
help="Emergency contact number for patient") |
|||
gender = fields.Selection( |
|||
[('m', 'Male'), ('f', 'Female'), |
|||
('ot', 'Other')], 'Gender', required=True) |
|||
dob = fields.Date(string='Date Of Birth', help="Date of birth of patient", |
|||
required=True) |
|||
age = fields.Char(string='Age', help="Age of the patient", |
|||
compute='compute_age', store=True) |
|||
blood_group = fields.Selection( |
|||
[('A+', 'A+ve'), ('B+', 'B+ve'), ('O+', 'O+ve'), |
|||
('AB+', 'AB+ve'), ('A-', 'A-ve'), ('B-', 'B-ve'), ('O-', 'O-ve'), |
|||
('AB-', 'AB-ve')], 'Blood Group') |
|||
visa_info = fields.Char(string='Visa Info', size=64, |
|||
help="Fill visa information") |
|||
id_proof_number = fields.Char(string='ID Proof Number', |
|||
help="Fill id proof information") |
|||
note = fields.Text(string='Note') |
|||
date = fields.Datetime(string='Date Requested', |
|||
default=lambda s: fields.Datetime.now(), |
|||
help="Requested date of lab request", |
|||
invisible=True) |
|||
phone = fields.Char(string="Phone", required=True, |
|||
help="Phone number of patient") |
|||
email = fields.Char(string="Email", required=True, help="Email of patient") |
|||
|
|||
@api.depends('dob') |
|||
def compute_age(self): |
|||
""" |
|||
Compute the patient's age based on their date of birth. |
|||
:param self: The record itself. |
|||
""" |
|||
for data in self: |
|||
if data.dob: |
|||
dob = fields.Datetime.from_string(data.dob) |
|||
date = fields.Datetime.from_string(data.date) |
|||
delta = relativedelta(date, dob) |
|||
data.age = str(delta.years) + ' ' + 'years' |
|||
else: |
|||
data.age = '' |
|||
|
|||
@api.model |
|||
def create(self, vals): |
|||
""" |
|||
Create a new patient record and generate a unique patient ID |
|||
:param self: The record itself. |
|||
:param dict vals: A dictionary of values for creating the patient record. |
|||
:return: The created patient record. |
|||
:rtype: LabPatient |
|||
""" |
|||
sequence = self.env['ir.sequence'].next_by_code('lab.patient') |
|||
vals['name'] = sequence or _('New') |
|||
result = super(LabPatient, self).create(vals) |
|||
return result |
|||
|
|||
@api.onchange('patient') |
|||
def detail_get(self): |
|||
""" |
|||
Update patient contact details based on the selected partner |
|||
:param self: The record itself. |
|||
""" |
|||
self.phone = self.patient.phone |
|||
self.email = self.patient.email |
@ -0,0 +1,119 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sruthi Pavithran (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from odoo import api, fields, models, _ |
|||
from odoo.exceptions import ValidationError |
|||
|
|||
|
|||
class LabRequest(models.Model): |
|||
""" |
|||
Model for managing Lab Requests |
|||
""" |
|||
_name = 'lab.request' |
|||
_inherit = ['mail.thread'] |
|||
_rec_name = 'lab_request_id' |
|||
_description = 'Lab Request' |
|||
|
|||
name = fields.Char(string='Lab Test', size=16, readonly=True, |
|||
required=True, help="Lab result ID", |
|||
default=lambda *a: '#') |
|||
lab_request_id = fields.Char(string='Appointment ID', |
|||
help="Lab appointment ID") |
|||
app_id = fields.Many2one('lab.appointment', |
|||
string='Appointment') |
|||
lab_requestor = fields.Many2one('lab.patient', |
|||
string='Patient', required=True, |
|||
select=True, help='Patient Name') |
|||
test_request = fields.Many2one('lab.test', string='Test') |
|||
lab_requesting_date = fields.Datetime(string='Requested Date') |
|||
comment = fields.Text('Comment') |
|||
request_line = fields.One2many('lab.test.attribute', |
|||
'test_request_reverse', |
|||
string="Test Lines") |
|||
state = fields.Selection([ |
|||
('draft', 'Draft'), |
|||
('sample_collection', 'Sample Collected'), |
|||
('test_in_progress', 'Test In Progress'), |
|||
('completed', 'Completed'), |
|||
('cancel', 'Cancelled'), |
|||
|
|||
], string='Status', readonly=True, copy=False, index=True, tracking=True, |
|||
default='draft') |
|||
|
|||
@api.model |
|||
def create(self, vals): |
|||
""" |
|||
Create a new lab request |
|||
:param self: The record itself. |
|||
:param dict vals: A dictionary of values for creating the lab request. |
|||
:return: The created lab request record. |
|||
:rtype: LabRequest |
|||
""" |
|||
sequence = self.env['ir.sequence'].next_by_code('lab.request') |
|||
vals['name'] = sequence or '/' |
|||
return super(LabRequest, self).create(vals) |
|||
|
|||
def action_set_to_sample_collection(self): |
|||
""" |
|||
Set the lab request's state to 'Sample Collected |
|||
:param self: The record itself. |
|||
""" |
|||
return self.write({'state': 'sample_collection'}) |
|||
|
|||
def action_set_to_test_in_progress(self): |
|||
""" |
|||
Set the lab request's state to 'Test In Progress' |
|||
:param self: The record itself. |
|||
""" |
|||
return self.write({'state': 'test_in_progress'}) |
|||
|
|||
def action_cancel_lab_test(self): |
|||
""" |
|||
Cancel the lab test. |
|||
:param self: The record itself. |
|||
""" |
|||
return self.write({'state': 'cancel'}) |
|||
|
|||
def action_set_to_test_completed(self): |
|||
""" |
|||
Set the lab request's state to 'Completed' |
|||
:param self: The record itself. |
|||
""" |
|||
if not self.request_line: |
|||
raise ValidationError(_("No Result Lines Entered !")) |
|||
req_obj = self.env['lab.request'].search_count( |
|||
[('app_id', '=', self.app_id.id), ('id', '!=', self.id)]) |
|||
req_obj_count = (self.env['lab.request'].search_count |
|||
([('app_id', '=', self.app_id.id), |
|||
('id', '!=', self.id), ('state', '=', 'completed')] |
|||
)) |
|||
if req_obj == req_obj_count: |
|||
app_obj = self.env['lab.appointment'].search( |
|||
[('id', '=', self.app_id.id)]) |
|||
app_obj.write({'state': 'completed'}) |
|||
return self.write({'state': 'completed'}) |
|||
|
|||
def action_print_lab_test(self): |
|||
""" |
|||
Print the lab test report |
|||
:param self: The record itself. |
|||
""" |
|||
return self.env.ref('medical_lab_management.action_lab_request_report').report_action(self) |
@ -0,0 +1,40 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sruthi Pavithran (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from odoo import fields, models |
|||
|
|||
|
|||
class LabTest(models.Model): |
|||
""" |
|||
Model for managing lab test details. |
|||
""" |
|||
_name = 'lab.test' |
|||
_description = "Lab Test" |
|||
_rec_name = 'lab_test' |
|||
_inherit = ['mail.thread'] |
|||
|
|||
lab_test = fields.Char(string="Test Name", required=True, |
|||
help="Name of lab test ") |
|||
lab_test_code = fields.Char(string="Test Code", required=True) |
|||
test_lines = fields.One2many('lab.test.attribute', |
|||
'test_line_reverse', |
|||
string="Attribute") |
|||
test_cost = fields.Float(string="Cost", required=True) |
@ -0,0 +1,40 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sruthi Pavithran (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from odoo import fields, models |
|||
|
|||
|
|||
class LabTestAttribute(models.Model): |
|||
""" |
|||
Model for managing lab test result |
|||
""" |
|||
_name = 'lab.test.attribute' |
|||
_description = "Lab Test Attributes" |
|||
|
|||
test_content = fields.Many2one('lab.test.content_type', |
|||
string="Content") |
|||
result = fields.Char(string="Result") |
|||
unit = fields.Many2one('test.unit', string="Unit") |
|||
interval = fields.Char(string="Reference Intervals") |
|||
test_line_reverse = fields.Many2one('lab.test', |
|||
string="Attribute") |
|||
test_request_reverse = fields.Many2one('lab.request', |
|||
string="Request") |
@ -0,0 +1,37 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sruthi Pavithran (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from odoo import fields, models |
|||
|
|||
|
|||
class LabTestContentType(models.Model): |
|||
""" |
|||
Model for managing test content types |
|||
""" |
|||
_name = 'lab.test.content_type' |
|||
_rec_name = 'content_type_name' |
|||
_description = "Content" |
|||
|
|||
content_type_name = fields.Char(string="Name", required=True, |
|||
help="Content type name") |
|||
content_type_code = fields.Char(string="Code") |
|||
parent_test = fields.Many2one('lab.test', |
|||
string="Test Category") |
@ -0,0 +1,37 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sruthi Pavithran (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from odoo import fields, models |
|||
|
|||
|
|||
class PhysicianSpeciality(models.Model): |
|||
""" |
|||
Model for managing physician details |
|||
""" |
|||
_name = 'physician.speciality' |
|||
_description = 'Medical Specialty' |
|||
|
|||
code = fields.Char(string='ID') |
|||
name = fields.Char(string='Specialty', help='Name of the specialty', |
|||
required=True) |
|||
_sql_constraints = [ |
|||
('name_uniq', 'UNIQUE(name)', 'Name must be unique!'), |
|||
] |
@ -0,0 +1,37 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sruthi Pavithran (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from odoo import fields, models |
|||
|
|||
|
|||
class ResPartner(models.Model): |
|||
""" |
|||
This class inherits the 'res.partner' model to represent patients and |
|||
physicians in the system. |
|||
""" |
|||
_inherit = 'res.partner' |
|||
_description = "Patient" |
|||
|
|||
is_patient = fields.Boolean(string='Is Patient') |
|||
is_physician = fields.Boolean(string='Is Physician') |
|||
speciality = fields.Many2one('physician.speciality', |
|||
string='Speciality') |
|||
hospital = fields.Many2one('res.partner', string='Hospital') |
@ -0,0 +1,34 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Sruthi Pavithran (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU AFFERO |
|||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|||
# (AGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from odoo import fields, models |
|||
|
|||
|
|||
class TestUnit(models.Model): |
|||
""" |
|||
Model for managing test units |
|||
""" |
|||
_name = 'test.unit' |
|||
_rec_name = 'code' |
|||
_description = "Test Unit" |
|||
|
|||
unit = fields.Char(string="Unit", required=True) |
|||
code = fields.Char(string="code", required=True) |
@ -0,0 +1,15 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<!-- Report action for patient card--> |
|||
<data> |
|||
<record id="action_lab_patient_report" model="ir.actions.report"> |
|||
<field name="name">Patient Card</field> |
|||
<field name="model">lab.patient</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">medical_lab_management.lab_patient_report</field> |
|||
<field name="report_file">medical_lab_management.lab_patient_report</field> |
|||
<field name="binding_model_id" ref="model_lab_patient"/> |
|||
<field name="binding_type">report</field> |
|||
</record> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,60 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<!-- Report template of patient card--> |
|||
<data> |
|||
<template id="lab_patient_report"> |
|||
<t t-call="web.html_container"> |
|||
<t t-foreach="docs" t-as="o"> |
|||
<div class="page"> |
|||
<div class="oe_structure"/> |
|||
<div class="row"> |
|||
<center> |
|||
<br/> |
|||
<div class="col-xs-8" style="margin:auto"> |
|||
<table class="table table-condensed" style="border: 3px solid black !important; width: 40%; position: relative;"> |
|||
<tr> |
|||
<td width="40%"> |
|||
<p style="text-align:center;padding-top:10px;"> |
|||
<img t-if="not o.patient_image" t-att-src="'/web/static/src/img/placeholder.png'" height="120" border="1" width="120"/> |
|||
<img t-if="o.patient_image" t-att-src="'data:image/png;base64,%s' %o.patient_image.decode('utf-8')" height="120" border="1" width="120"/> |
|||
</p> |
|||
<p style="text-align:center;"> |
|||
<strong><span t-field="o.patient.name"/></strong> |
|||
</p> |
|||
</td> |
|||
<td width="40%"> |
|||
<table border="0" style="text-align:center; position: absolute; top: 20px; left: 180px;"> |
|||
<tr> |
|||
<td> |
|||
<p style="text-align:left;"><strong>Patient ID:</strong></p> |
|||
<p style="text-align:left;"><strong>Sex:</strong></p> |
|||
<p style="text-align:left;"><strong>Age:</strong></p> |
|||
</td> |
|||
<td> |
|||
<p style="text-align:left;" t-field="o.name"/> |
|||
<t t-if="o.gender=='m'"> |
|||
<p style="text-align:left;">Male</p> |
|||
</t> |
|||
<t t-if="o.gender=='ot'"> |
|||
<p style="text-align:left;">Other</p> |
|||
</t> |
|||
<t t-if="o.gender=='f'"> |
|||
<p style="text-align:left;">Female</p> |
|||
</t> |
|||
<p style="text-align:left;" t-field="o.age"/> |
|||
</td> |
|||
</tr> |
|||
</table> |
|||
</td> |
|||
</tr> |
|||
</table> |
|||
</div> |
|||
</center> |
|||
</div> |
|||
</div> |
|||
<p style="page-break-after:always"/> |
|||
</t> |
|||
</t> |
|||
</template> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,13 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<!-- Report action of lab test result--> |
|||
<data> |
|||
<record id="action_lab_request_report" model="ir.actions.report"> |
|||
<field name="name">Lab Test Result</field> |
|||
<field name="model">lab.request</field> |
|||
<field name="report_type">qweb-pdf</field> |
|||
<field name="report_name">medical_lab_management.lab_request_report</field> |
|||
<field name="report_file">medical_lab_management.lab_request_report</field> |
|||
</record> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,50 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<!-- Report template of lab test templates--> |
|||
<data> |
|||
<template id="lab_request_report"> |
|||
<t t-call="web.html_container"> |
|||
<t t-call="web.external_layout"> |
|||
<t t-foreach="docs" t-as="o"> |
|||
<div class="page"> |
|||
<br /> |
|||
<h3 style="text-decoration:underline;text-align:center;"><b>Lab Test Report</b></h3> |
|||
<br/> |
|||
<br/> |
|||
<table width="99%" style="margin-left:50px;margin-top:5px;border: None solid black;"> |
|||
<tr> |
|||
<td style="width:50px;height:25px" ><span>Patient: </span><span t-att-style="style" t-esc="o.lab_requestor.patient.name"/></td> |
|||
<td style="width:50px;height:25px" ><span>Test : </span><span t-att-style="style" t-esc="o.test_request.lab_test"/></td> |
|||
<td style="width:50px;height:25px" ><span>Date: </span><span t-att-style="style" t-esc="o.lab_requesting_date"/></td> |
|||
</tr> |
|||
</table> |
|||
<br/> |
|||
<br/> |
|||
<table width="99%" style="border:1px solid black;padding-left:1.16cm;"> |
|||
<thead> |
|||
<th style="border:1px solid black;text-align:center;" width="13%" class="td4">Content</th> |
|||
<th style="border:1px solid black;text-align:center;" width="13%" class="td4">Unit</th> |
|||
<th style="border:1px solid black;text-align:center;" width="13%" class="td4">Normal Range</th> |
|||
<th style="border:1px solid black;text-align:center;" width="13%" class="td4">Result</th> |
|||
</thead> |
|||
<tbody> |
|||
<t t-foreach="o.request_line" t-as="l"> |
|||
<tr style="border:1px solid black"> |
|||
<td style="border:1px solid black;text-align:center;"><span t-esc="l.test_content.content_type_name" style="font-size:16px;"/></td> |
|||
<td style="border:1px solid black;text-align:center;"><span t-esc="l.unit.code" style="font-size:16px;"/></td> |
|||
<td style="border:1px solid black;text-align:center;"><span t-esc="l.interval" style="font-size:16px;"/></td> |
|||
<td style="border:1px solid black;text-align:center;"><span t-esc="l.result" style="font-size:16px;"/></td> |
|||
</tr> |
|||
</t> |
|||
</tbody> |
|||
</table> |
|||
<br/> |
|||
<br/> |
|||
</div> |
|||
<p style="page-break-after:always"/> |
|||
</t> |
|||
</t> |
|||
</t> |
|||
</template> |
|||
</data> |
|||
</odoo> |
|
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<record model="ir.module.category" id="module_category_lab_management"> |
|||
<field name="name">Lab Management</field> |
|||
</record> |
|||
<record id="group_lab_management_user" model="res.groups"> |
|||
<field name="name">Lab User</field> |
|||
<field name="category_id" ref="module_category_lab_management"/> |
|||
<field name="implied_ids" eval="[(4, ref('base.group_user'))]"/> |
|||
</record> |
|||
<record id="group_lab_management_technician" model="res.groups"> |
|||
<field name="name">Lab Manager</field> |
|||
<field name="category_id" ref="module_category_lab_management"/> |
|||
<field name="implied_ids" eval="[(4, ref('group_lab_management_user'))]"/> |
|||
<field name="users" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"/> |
|||
</record> |
|||
</odoo> |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 878 B |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 988 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 565 B |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 81 KiB |
After Width: | Height: | Size: 81 KiB |
After Width: | Height: | Size: 85 KiB |
After Width: | Height: | Size: 79 KiB |
After Width: | Height: | Size: 74 KiB |
After Width: | Height: | Size: 155 KiB |
After Width: | Height: | Size: 102 KiB |
After Width: | Height: | Size: 105 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 109 KiB |
After Width: | Height: | Size: 71 KiB |
After Width: | Height: | Size: 61 KiB |
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 75 KiB |
After Width: | Height: | Size: 139 KiB |
After Width: | Height: | Size: 145 KiB |
After Width: | Height: | Size: 65 KiB |
After Width: | Height: | Size: 196 KiB |
After Width: | Height: | Size: 74 KiB |
After Width: | Height: | Size: 70 KiB |
After Width: | Height: | Size: 138 KiB |
After Width: | Height: | Size: 138 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 51 KiB |
After Width: | Height: | Size: 294 KiB |
After Width: | Height: | Size: 85 KiB |
After Width: | Height: | Size: 15 KiB |
@ -0,0 +1,764 @@ |
|||
<!DOCTYPE html> |
|||
<html lang="en"> |
|||
|
|||
<head> |
|||
<meta charset="UTF-8"> |
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|||
<title>Odoo App 3 Index</title> |
|||
<!-- Bootstrap CSS --> |
|||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" |
|||
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> |
|||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"> |
|||
<link rel="preconnect" href="https://fonts.googleapis.com"> |
|||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |
|||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet"> |
|||
</head> |
|||
<body> |
|||
<section> |
|||
<div class="container" style="font-family: 'Inter', sans-serif !important;background-color: #fff !important;"> |
|||
<div class="row"> |
|||
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between flex-wrap align-items-sm-center" |
|||
style="border-bottom:1px solid rgba(0, 0, 0, 0.22)"> |
|||
<div class="my-3"> |
|||
<img src="assets/misc/Cybrosys R.png" style="width:auto !important; height:40px !important"> |
|||
</div> |
|||
<div class="my-3 d-flex align-items-center"> |
|||
<div class="text-center" |
|||
style="background-color:#017E84 !important;font-size: 0.8rem !important; color:#fff !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;"> |
|||
Community |
|||
</div> |
|||
<div class="text-center" |
|||
style="background-color:#875A7B !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important;min-width: 120px !important;"> |
|||
Enterprise |
|||
</div> |
|||
<div class="text-center" |
|||
style="background-color:#7C7BAD !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;"> |
|||
Odoo.sh |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="col-sm-12 col-md-12 col-lg-12 text-center d-flex align-items-center flex-column" |
|||
style="margin: 80px 0px !important;"> |
|||
<h1 style="font-size: 2.8rem;font-weight: 700; color: |
|||
#1A202C;"> |
|||
Medical Lab Management</h1> |
|||
<p class="my-3 mb-4" |
|||
style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;"> |
|||
This app helps the user to systematically perform the activities of a Medical Laboratory. |
|||
</p> |
|||
<div style="width: 80%; margin-top: 3rem;"> |
|||
<img src="assets/screenshots/hero.gif" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="container mt-5 mb-5"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
|||
<p class="m-0" style="font-weight: 600; font-size: 24px; color:#714b67 !important">Key Highlights |
|||
</p> |
|||
</div> |
|||
<div class="row py-4"> |
|||
<div class="col-md-6 col-sm-12 p-3"> |
|||
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
|||
background: #FFF; |
|||
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
|||
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
|||
display: flex; justify-content: center; align-items: center; |
|||
margin-right: 10px; flex-shrink: 0;"> |
|||
<i class="fa-solid fa-star " style="color: #fff;font-size:14px;"></i> |
|||
</div> |
|||
<div> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Manage Patients</p> |
|||
<p class="m-0" style="color:#718096">The app simplifies the activity like Patient Management. |
|||
</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-6 col-sm-12 p-3"> |
|||
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
|||
background: #FFF; |
|||
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
|||
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
|||
display: flex; justify-content: center; align-items: center; |
|||
margin-right: 10px; flex-shrink: 0;"> |
|||
<i class="fa-solid fa-star " style="color: #fff;font-size:14px;"></i> |
|||
</div> |
|||
<div> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Manage Appointments</p> |
|||
<p class="m-0" style="color:#718096">The app simplifies the activity like Appointment Management. |
|||
</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-6 col-sm-12 p-3"> |
|||
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
|||
background: #FFF; |
|||
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
|||
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
|||
display: flex; justify-content: center; align-items: center; |
|||
margin-right: 10px; flex-shrink: 0;"> |
|||
<i class="fa-solid fa-star " style="color: #fff;font-size:14px;"></i> |
|||
</div> |
|||
<div> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Manage Lab Test Request.</p> |
|||
<p class="m-0" style="color:#718096">Manage Test Requests Management, Lab Results Management. |
|||
</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-6 col-sm-12 p-3"> |
|||
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
|||
background: #FFF; |
|||
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
|||
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
|||
display: flex; justify-content: center; align-items: center; |
|||
margin-right: 10px; flex-shrink: 0;"> |
|||
<i class="fa-solid fa-star " style="color: #fff;font-size:14px;"></i> |
|||
</div> |
|||
<div> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Manage Today's Appointments.</p> |
|||
<p class="m-0" style="color:#718096">Manage today's appointments of all patients. |
|||
</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="container rounded" > |
|||
<ul class="nav nav-tabs d-flex" style="width: fit-content;margin: 0 auto;gap: 1rem;"> |
|||
<li class="col text-center py-2 text-nowrap " |
|||
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"><a |
|||
class="active show" data-toggle="tab" href="#tab1" |
|||
style="color: #fff;font-weight: 500; background-color: #714B67; text-decoration: none;"> |
|||
<i class="fa-regular fa-image pr-2" style="color: #fff;"></i> |
|||
Screenshots</a></li> |
|||
<li class="col text-center py-2 text-nowrap " |
|||
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"><a |
|||
data-toggle="tab" href="#tab2" |
|||
style="color: #fff;font-weight: 500; text-decoration: none;"><i |
|||
class="fa-solid fa-star pr-2" style="color: #fff;"></i>Features</a></li> |
|||
<li class="col text-center py-2 text-nowrap " |
|||
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"><a |
|||
data-toggle="tab" href="#tab3" |
|||
style="color: #fff;font-weight: 500; text-decoration: none; background-color: #714B67;"><i |
|||
class="fa-solid fa-book-open pr-2" style="color: #fff;"></i>Released Notes</a></li> |
|||
</ul> |
|||
<div class="tab-content" style="background-color: rgba(121, 113, 119, 0.04);"> |
|||
<div id="tab1" class="tab-pane fade in active show"> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/Screenshot(81).png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
It enables the user to choose either patient or physician.</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/Screenshot(82).png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
It creates each patient for lab test.</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/Screenshot(83).png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Go to Laboratory -> Patient -> action-> Patient Card.</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/Screenshot(84).png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/Screenshot(85).png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Lab Test Details.</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/Screenshot(88).png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
It creates Test Units.</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/Screenshot(87).png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Testing Contents.</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/Screenshot(86).png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
It creates Lab Test details.</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/Screenshot(90).png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Go to Laboratory -> Appointments->Create Appointments.</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/Screenshot(91).png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
creates lab request of each patient.</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/Screenshot(92).png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Issues Lab Test Result Report.</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/Screenshot(93).png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Invoices are created for each lab test.</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/Screenshot(94).png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Here,we can view today's appointments of all patients.</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/Screenshot(95).png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
We can add referral physician details..</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/Screenshot(96).png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
There are two type of User Access</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/Screenshot(97).png" class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div id="tab2" class="tab-pane fade"> |
|||
<div class="col-mg-12" style="padding: 1rem 4rem;"> |
|||
<ul style="list-style: none; padding: 1rem 0;font-weight: 500;"> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
|||
width="16px"></span>Available in Odoo 16.0 Community and Enterprise. |
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
|||
width="16px"></span>Manage Patients. |
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
|||
width="16px"></span>Manage Referrals of Patients. |
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
|||
width="16px"></span>Manage Appointments. |
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
|||
width="16px"></span>Mail Notification For Appointments.. |
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
|||
width="16px"></span>Manage Lab Requests. |
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img src="assets/misc/star (1) 2.svg" alt="" |
|||
width="16px"></span>Print Lab Test Result Of Patient. |
|||
</li> |
|||
</ul> |
|||
</div> |
|||
</div> |
|||
<div id="tab3" class="tab-pane fade"> |
|||
<div class="col-mg-12 active" style="padding: 1rem 4rem;"> |
|||
<div class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="d-flex mb-3" style="font-size: 0.8rem; font-weight: 500;"><span>Version |
|||
17.0.1.0.0</span><span class="px-2">|</span><span |
|||
style="color: #714B67;font-weight: 600;">Released on:01st Nov 2023</span> |
|||
</div> |
|||
<p class="m-0" |
|||
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;"> |
|||
|
|||
Initial Commit for Medical Lab Management.</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="container mt-5"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5"> |
|||
<p class="m-0" style="font-weight: 600; font-size: 24px; color:#000 !important">Related Products</p> |
|||
</div> |
|||
</div> |
|||
<div id="myCarousel" class="carousel slide py-3" data-ride="carousel"> |
|||
<div class="carousel-inner"> |
|||
<div class="carousel-item active"> |
|||
<div class="row p-4"> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/16.0/front_office_management/" style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px; "> |
|||
<img src="assets/modules/1.png" alt="" width="100%" height="auto"> |
|||
|
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold">FRONT OFFICE MANAGEMENT</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/16.0/insurance_management_cybro/" style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px; "> |
|||
<img src="assets/modules/2.png" alt="" width="100%" height="auto"> |
|||
|
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold">INSURANCE MANAGEMENT</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/16.0/laundry_management/" style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px; "> |
|||
<img src="assets/modules/3.png" alt="" width="100%" height="auto"> |
|||
|
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold">LAUNDRY MANAGEMENT</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="carousel-item"> |
|||
<div class="row p-4"> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/16.0/fleet_car_workshop/" style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px; "> |
|||
<img src="assets/modules/4.png" alt="" width="100%" height="auto"> |
|||
|
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold">CAR WORKSHOP</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/16.0/salon_management/" style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px;"> |
|||
<img src="assets/modules/5.png" alt="" width="100%" height="auto"> |
|||
|
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold">BEAUTY SPA MANAGEMENT</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/16.0/fleet_rental/" style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px;"> |
|||
<img src="assets/modules/7.png" alt="" width="100%" height="auto"> |
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold">FLEET RENTAL</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<a class="carousel-control-prev" href="#myCarousel" data-slide="prev" style="width: 35px; color: #000;"> |
|||
<span class="carousel-control-prev-icon"> |
|||
<i class="fa fa-chevron-left" style="font-size: 24px;"></i> |
|||
</span> |
|||
</a> |
|||
<a class="carousel-control-next" href="#myCarousel" data-slide="next" style="width: 35px; color: #000;"> |
|||
<span class="carousel-control-next-icon"> |
|||
<i class="fa fa-chevron-right" style="font-size: 24px;"></i> |
|||
</span> |
|||
</a> |
|||
</div> |
|||
<div class="container mt-5"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
|||
<p class="m-0" style="font-weight: 600; font-size: 24px; color:#000 !important">Our Services</p> |
|||
|
|||
</div> |
|||
</div> |
|||
<div class="container my-5"> |
|||
<div class="row py-3"> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#13EA36 ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/cogs.png" alt="service-icon" width="38px" height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo Customization</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#DBC711; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/wrench.png" alt="service-icon" width="38px" height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo Implementation</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#FF6B6B ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/lifebuoy.png" alt="service-icon" width="38px" height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo Support</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#FFA801 ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/user.png" alt="service-icon" width="38px" height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Hire Odoo Developer</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
|||
|
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#54A0FF; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/puzzle.png" alt="service-icon" width="38px" height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo Integration</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#6D7680 ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/update.png" alt="service-icon" width="38px" height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo Migration</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#786FA6 ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/consultation.png" alt="service-icon" width="38px" height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo Consultancy</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#F8A5C2 ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/training.png" alt="service-icon" width="38px" height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo Implementation</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#E6BE26; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/license.png" alt="service-icon" width="38px" height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo Licensing Consultancy</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="container mt-5"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
|||
<p class="m-0" style="font-weight: 600; font-size: 24px; color:#000 !important">Our Industries</p> |
|||
|
|||
</div> |
|||
</div> |
|||
<div class="container"> |
|||
<div class="row my-5 py-4"> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100 " |
|||
style="border-right: 1px solid rgb(209, 209, 209); border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; box-shadow: 6px 0 10px rgba(228, 227, 227, 0.373);"> |
|||
<img src="assets/icons/trading-black.png" width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Trading</p> |
|||
<p>Easily procure and sell your products</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgb(209, 209, 209); padding: 30px;"> |
|||
<img src="assets/icons/pos-black.png" width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">POS</p> |
|||
<p>Easy configuration and convivial experience</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgba(0, 0, 0, 0.2); padding: 30px; box-shadow: 0 5px 10px rgba(228, 227, 227, 0.373)"> |
|||
<img src="assets/icons/education-black.png" width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Education</p> |
|||
<p>A platform for educational management</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; "> |
|||
<img src="assets/icons/manufacturing-black.png" width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Manufacturing</p> |
|||
<p>Plan, track and schedule your operations</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;"> |
|||
<img src="assets/icons/ecom-black.png" width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">E-commerce & Website</p> |
|||
<p>Mobile friendly, awe-inspiring product pages</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;box-shadow: 0 -5px 10px rgba(228, 227, 227, 0.373);"> |
|||
<img src="assets/icons/service-black.png" width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Service Management</p> |
|||
<p>Keep track of services and invoice</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px; "> |
|||
<img src="assets/icons/restaurant-black.png" width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Restaurant</p> |
|||
<p>Run your bar or restaurant methodically</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style=" padding: 30px;box-shadow: -5px 0 10px rgba(228, 227, 227, 0.373);"> |
|||
<img src="assets/icons/hotel-black.png" width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Hotel Management</p> |
|||
<p>An all-inclusive hotel management application</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="container mt-5"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5"> |
|||
<p class="m-0" style="font-weight: 600; font-size: 24px; color:#000 !important">Support</p> |
|||
</div> |
|||
</div> |
|||
<div class="container my-5"> |
|||
<div class="row" style="background-color: #FFFAFE;"> |
|||
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center" |
|||
style="border-right: 1px solid #D9D9D9;"> |
|||
<div style="padding: 30px;"> |
|||
<div class="d-flex align-items-center"> |
|||
<img src="assets/misc/support (1) 1.svg" alt="" width="60px" style="margin-right: 12px;"> |
|||
<div style="padding: 0px 8px;"> |
|||
<span |
|||
style="color: #714B67;font-size: 24px;font-weight: 600;padding-bottom: 1rem;">Need |
|||
Help?</span> |
|||
<p class="m-0" style="color:#718096;">Got questions or need help? Get in touch.</p> |
|||
<div style="font-weight: 400;"><span><img src="assets/misc/support-email.svg" alt="" |
|||
width="18px" |
|||
style="filter: invert(1);margin-right: 0.8rem;"></span>odoo@cybrosys.com |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center"> |
|||
<div style="padding: 30px;"> |
|||
<div class="d-flex align-items-center"> |
|||
<img src="assets/misc/whatsapp 1.svg" alt="" width="60px" style="margin-right: 12px;"> |
|||
<div> |
|||
<span style="color: #714B67;font-size: 24px;font-weight: 600;">WhatsApp</span> |
|||
<p class="m-0" style="color:#718096;">Say hi to us on WhatsApp!</p> |
|||
<div style="font-weight: 400; font-size: 16px;"><span><img src="assets/misc/phone.svg" |
|||
alt="" width="14px" |
|||
style="filter: invert(1); margin-right: 0.8rem;"></span>+91 |
|||
99456767686</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
<!-- Optional JavaScript --> |
|||
<!-- jQuery first, then Popper.js, then Bootstrap JS --> |
|||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> |
|||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> |
|||
</body> |
|||
</html> |
@ -0,0 +1,30 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<data> |
|||
<!-- Inheriting account.move form view--> |
|||
<record id="view_move_form" model="ir.ui.view"> |
|||
<field name="name">view.move.form.inherit.medical.lab.management</field> |
|||
<field name="model">account.move</field> |
|||
<field name="inherit_id" ref="account.view_move_form"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//field[@name='invoice_date']" position="after"> |
|||
<field name="is_lab_invoice" invisible="1"/> |
|||
<field name="lab_request_id"/> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
<record id="view_account_invoice_filter" model="ir.ui.view"> |
|||
<field name="name">account.invoice.cust.invoice_filter_form</field> |
|||
<field name="model">account.move</field> |
|||
<field name="inherit_id" ref="account.view_account_invoice_filter"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//field[@name='date']" position="after"> |
|||
<field name="lab_request_id"/> |
|||
</xpath> |
|||
<xpath expr="//group/filter[@name='status']" position="after"> |
|||
<filter string="Appointment" name="appointment" domain="[]" context="{'group_by':'lab_request_id'}"/> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,252 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<odoo> |
|||
<data> |
|||
<!-- Creating lab appointment view--> |
|||
<record id="lab_invoice_action" model="ir.actions.act_window"> |
|||
<field name="name">Invoices</field> |
|||
<field name="res_model">account.move</field> |
|||
<field name="view_mode">tree,form,kanban,graph,pivot</field> |
|||
<field name="view_id" ref="account.view_move_tree"/> |
|||
<field name="domain">[('is_lab_invoice','=',True)]</field> |
|||
<field name="search_view_id" |
|||
ref="account.view_account_invoice_filter"/> |
|||
<field name="help" type="html"> |
|||
<p class="oe_view_nocontent_create"> |
|||
Create Invoices. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
<record id="lab_invoice_action_view_tree" |
|||
model="ir.actions.act_window.view"> |
|||
<field name="sequence">1</field> |
|||
<field name="view_mode">tree</field> |
|||
<field name="act_window_id" |
|||
ref="medical_lab_management.lab_invoice_action"/> |
|||
</record> |
|||
<record id="lab_invoice_view_form" model="ir.actions.act_window.view"> |
|||
<field name="sequence">2</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="view_id" ref="account.view_move_form"/> |
|||
<field name="act_window_id" |
|||
ref="medical_lab_management.lab_invoice_action"/> |
|||
</record> |
|||
<record id="kanban_view_lab_appointment" model="ir.ui.view"> |
|||
<field name="name">Appointment Kanban</field> |
|||
<field name="model">lab.appointment</field> |
|||
<field name="arch" type="xml"> |
|||
<kanban> |
|||
<templates> |
|||
<t t-name="kanban-box"> |
|||
<div class="oe_kanban_global_click"> |
|||
<div class="oe_kanban_details"> |
|||
<strong> |
|||
<ul> |
|||
<li>Name : |
|||
<field name="patient_id"/> |
|||
</li> |
|||
<li>Lab Request ID : |
|||
<field name="name"/> |
|||
</li> |
|||
<li>Appointment Date : |
|||
<field name="appointment_date"/> |
|||
</li> |
|||
</ul> |
|||
</strong> |
|||
</div> |
|||
</div> |
|||
</t> |
|||
</templates> |
|||
</kanban> |
|||
</field> |
|||
</record> |
|||
<record id="lab_appointment_view_tree" model="ir.ui.view"> |
|||
<field name="name">lab.appointment.view.tree</field> |
|||
<field name="model">lab.appointment</field> |
|||
<field name="priority" eval="8"/> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Appointments"> |
|||
<field name="patient_id"/> |
|||
<field name="name"/> |
|||
<field name="state"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
<record id="lab_appointment_view_form" model="ir.ui.view"> |
|||
<field name="name">lab.appointment.view.form</field> |
|||
<field name="model">lab.appointment</field> |
|||
<field name="priority" eval="8"/> |
|||
<field name="arch" type="xml"> |
|||
<form string="Appointment"> |
|||
<header> |
|||
<button name="action_confirm_appointment" |
|||
invisible="state not in 'draft'" |
|||
string="Confirm" type="object" |
|||
class="oe_highlight"/> |
|||
<button name="action_request" |
|||
invisible="state not in 'confirm'" |
|||
string="Request Lab" type="object" |
|||
class="oe_highlight"/> |
|||
<button name="action_create_invoice" |
|||
invisible="state not in 'completed'" |
|||
string="Create Invoice" type="object" |
|||
class="oe_highlight"/> |
|||
<button name="action_cancel_appointment" |
|||
invisible="state not in ('draft','confirm')" |
|||
string="Cancelled" type="object"/> |
|||
<field name="state" widget="statusbar" |
|||
statusbar_visible="draft,confirm,request_lab,completed,to_invoice,invoiced" |
|||
/> |
|||
</header> |
|||
<sheet> |
|||
<div class="oe_button_box" name="button_box"> |
|||
<button name="%(act_open_lab_request_view)d" |
|||
type="action" |
|||
class="oe_stat_button" |
|||
icon="fa-building-o" |
|||
context="{'search_default_app_id': [active_id]}" |
|||
invisible="request_count == '0'"> |
|||
<field name="request_count" widget="statinfo" |
|||
string="Lab Requests"/> |
|||
</button> |
|||
<button name="%(lab_invoice_action)d" |
|||
type="action" |
|||
class="oe_stat_button" |
|||
icon="fa-pencil-square-o" |
|||
context="{'search_default_lab_request_id': [active_id]}" |
|||
invisible="inv_count == '0'"> |
|||
<field name="inv_count" widget="statinfo" |
|||
string="Lab Invoice"/> |
|||
</button> |
|||
</div> |
|||
<div class="oe_button_box" name="button_box"> |
|||
<button name="%(act_open_lab_request_view)d" |
|||
type="action" |
|||
class="oe_stat_button" |
|||
icon="fa-building-o" |
|||
context="{'search_default_app_id': [active_id]}" |
|||
invisible="request_count == '0'"> |
|||
<field name="request_count" widget="statinfo" |
|||
string="Lab Requests"/> |
|||
</button> |
|||
<button name="%(lab_invoice_action)d" |
|||
type="action" |
|||
class="oe_stat_button" |
|||
icon="fa-pencil-square-o" |
|||
context="{'search_default_lab_request_id': [active_id]}" |
|||
invisible="inv_count == '0'"> |
|||
<field name="inv_count" widget="statinfo" |
|||
string="Lab Invoice"/> |
|||
</button> |
|||
</div> |
|||
<group> |
|||
<group col="4" colspan="4"> |
|||
<field name="patient_id"/> |
|||
<field name="priority" widget="priority"/> |
|||
<field name="name"/> |
|||
<field name="date"/> |
|||
<field name="appointment_date"/> |
|||
<field name="physician_id" |
|||
domain="[('is_physician','=',True)]" |
|||
context="{'search_default_is_physician':1, 'default_is_physician':1}"/> |
|||
</group> |
|||
</group> |
|||
<notebook colspan="4"> |
|||
<page string="Lab Requests"> |
|||
<field name="appointment_line_ids"> |
|||
<tree string="Lab Request" |
|||
editable="bottom"> |
|||
<field name="lab_test_id"/> |
|||
<field name="cost"/> |
|||
</tree> |
|||
</field> |
|||
</page> |
|||
<page name="Note" |
|||
string="Note"> |
|||
<field name="comment"/> |
|||
</page> |
|||
</notebook> |
|||
</sheet> |
|||
<div class="oe_chatter"> |
|||
<field name="message_follower_ids" |
|||
widget="mail_followers"/> |
|||
<field name="message_ids" widget="mail_thread"/> |
|||
</div> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<record id="lab_appointment_view_search" model="ir.ui.view"> |
|||
<field name="name">lab.appointment.view.search</field> |
|||
<field name="model">lab.appointment</field> |
|||
<field name="priority" eval="8"/> |
|||
<field name="arch" type="xml"> |
|||
<search string="Appointment"> |
|||
<field name="patient_id"/> |
|||
<field name="date"/> |
|||
<field name="name"/> |
|||
<field name="physician_id"/> |
|||
<newline/> |
|||
<group expand="0" string="Group By..."> |
|||
<filter name="patient_id" string="Patient" |
|||
domain="[]" |
|||
context="{'group_by':'patient_id'}"/> |
|||
<filter name="date" string="Date" |
|||
domain="[]" context="{'group_by':'date'}"/> |
|||
<filter name="appointment_date" |
|||
string="Appointment date" |
|||
domain="[]" |
|||
context="{'group_by':'appointment_date'}"/> |
|||
<filter name="physician_id" string="Physician" |
|||
domain="[]" |
|||
context="{'group_by':'physician_id'}"/> |
|||
</group> |
|||
</search> |
|||
</field> |
|||
</record> |
|||
<record id="act_open_lab_appointment_view" |
|||
model="ir.actions.act_window"> |
|||
<field name="name">Appointments</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">lab.appointment</field> |
|||
<field name="view_mode">tree,form,kanban</field> |
|||
<field name="search_view_id" ref="lab_appointment_view_search"/> |
|||
<field name="domain">[]</field> |
|||
<field name="context">{}</field> |
|||
<field name="help" type="html"> |
|||
<p class="oe_view_nocontent_create"> |
|||
Create Appointments. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
<record id="lab_appointment_action" model="ir.actions.act_window"> |
|||
<field name="name">Appointments</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">lab.appointment</field> |
|||
<field name="view_mode">tree,form</field> |
|||
<field name="search_view_id" ref="lab_appointment_view_search"/> |
|||
<field name="domain">[('appointment_date', '>=',((datetime.date.today()- |
|||
datetime.timedelta(days=0)).strftime('%Y-%m-%d 00:00:00'))), |
|||
('appointment_date', '<=',((datetime.date.today()- |
|||
datetime.timedelta(days=0)).strftime('%Y-%m-%d 23:59:59')))] |
|||
</field> |
|||
<field name="context">{}</field> |
|||
<field name="help" type="html"> |
|||
<p class="oe_view_nocontent_create"> |
|||
Create Appointments. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
<menuitem id="menu_lab_appointment" name="Appointments" sequence="11" |
|||
parent="lab_patient_menu_root" |
|||
groups="group_lab_management_user,group_lab_management_technician"/> |
|||
<menuitem id="menu_lab_appointment_child" name="Appointments" |
|||
sequence="10" |
|||
parent="menu_lab_appointment" |
|||
action="act_open_lab_appointment_view" |
|||
groups="group_lab_management_user,group_lab_management_technician"/> |
|||
<menuitem id="menu_lab_appointment_child_2" |
|||
name=" Today's Appointments" sequence="11" |
|||
groups="group_lab_management_user,group_lab_management_technician" |
|||
parent="menu_lab_appointment" |
|||
action="lab_appointment_action"/> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,154 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<odoo> |
|||
<data> |
|||
<!-- Creating lab patient view--> |
|||
<menuitem id="lab_patient_menu_root" name="Laboratory" sequence="40" |
|||
groups="group_lab_management_user,group_lab_management_technician" |
|||
web_icon="medical_lab_management,static/description/icon.png"/> |
|||
<record id="lab_patient_view_kanban" model="ir.ui.view"> |
|||
<field name="name">Patient Kanban</field> |
|||
<field name="model">lab.patient</field> |
|||
<field name="arch" type="xml"> |
|||
<kanban> |
|||
<field name='id'/> |
|||
<templates> |
|||
<t t-name="kanban-box"> |
|||
<div class="oe_kanban_global_click"> |
|||
<div class="o_kanban_image"> |
|||
<img t-att-src="kanban_image('lab.patient', 'patient_image', record.id.value)"/> |
|||
</div> |
|||
<div class="oe_kanban_details"> |
|||
<strong> |
|||
<ul> |
|||
<li>Name : |
|||
<field name="patient"/> |
|||
</li> |
|||
<li>Patient ID : |
|||
<field name="name"/> |
|||
</li> |
|||
</ul> |
|||
</strong> |
|||
</div> |
|||
</div> |
|||
</t> |
|||
</templates> |
|||
</kanban> |
|||
</field> |
|||
</record> |
|||
<record id="lab_patient_view_tree" model="ir.ui.view"> |
|||
<field name="name">lab.patient.view.tree</field> |
|||
<field name="model">lab.patient</field> |
|||
<field name="priority" eval="8"/> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Patient"> |
|||
<field name="title"/> |
|||
<field name="patient"/> |
|||
<field name="name"/> |
|||
<field name="phone"/> |
|||
<field name="email"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
<record id="lab_patient_view_form" model="ir.ui.view"> |
|||
<field name="name">lab.patient.view.form</field> |
|||
<field name="model">lab.patient</field> |
|||
<field name="priority" eval="8"/> |
|||
<field name="arch" type="xml"> |
|||
<form string="Patient"> |
|||
<sheet> |
|||
<div class="oe_button_box" name="button_box"> |
|||
</div> |
|||
<field name="patient_image" widget="image" |
|||
class="oe_avatar"/> |
|||
<div name="title_name" class="oe_title"> |
|||
<h3> |
|||
<field name="title" |
|||
style="width: 30%%"/> |
|||
</h3> |
|||
<h1> |
|||
<table> |
|||
<tr> |
|||
<td> |
|||
<field name="patient" |
|||
required="1" |
|||
placeholder="FullName" |
|||
style="padding-right:10px" |
|||
domain="[('is_patient','=',True)]" |
|||
context="{'search_default_is_patient':1, 'default_is_patient':1, 'default_customer':1}" |
|||
/> |
|||
</td> |
|||
</tr> |
|||
</table> |
|||
</h1> |
|||
</div> |
|||
<group> |
|||
<group> |
|||
<field name="name"/> |
|||
<field name="gender"/> |
|||
<field name="dob"/> |
|||
<field name="age"/> |
|||
<field name="phone"/> |
|||
</group> |
|||
<group> |
|||
<field name="visa_info"/> |
|||
<field name="id_proof_number"/> |
|||
<field name="date" invisible="1"/> |
|||
<field name="blood_group"/> |
|||
<field name="email"/> |
|||
</group> |
|||
</group> |
|||
<notebook> |
|||
<page string="Note"> |
|||
<group> |
|||
<field name="note"/> |
|||
</group> |
|||
</page> |
|||
</notebook> |
|||
</sheet> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<record id="lab_patient_view_search" model="ir.ui.view"> |
|||
<field name="name">lab.patient.view.search</field> |
|||
<field name="model">lab.patient</field> |
|||
<field name="priority" eval="8"/> |
|||
<field name="arch" type="xml"> |
|||
<search string="Patient"> |
|||
<field name="patient"/> |
|||
<field name="blood_group"/> |
|||
<field name="name"/> |
|||
<newline/> |
|||
<group expand="0" string="Group By..."> |
|||
<filter name="blood_group" string="Blood Group" |
|||
domain="[]" |
|||
context="{'group_by':'blood_group'}"/> |
|||
<filter name="name" string="Patient ID" |
|||
domain="[]" context="{'group_by':'name'}"/> |
|||
<filter name="patient" string="Patient" |
|||
domain="[]" context="{'group_by':'patient'}"/> |
|||
</group> |
|||
</search> |
|||
</field> |
|||
</record> |
|||
<record model="ir.actions.act_window" id="act_open_lab_patient_view"> |
|||
<field name="name">Patients</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">lab.patient</field> |
|||
<field name="view_mode">kanban,tree,form</field> |
|||
<field name="search_view_id" ref="lab_patient_view_search"/> |
|||
<field name="domain">[]</field> |
|||
<field name="context">{}</field> |
|||
<field name="help" type="html"> |
|||
<p class="oe_view_nocontent_create"> |
|||
Create Patients. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
<menuitem id="lab_patient_menu" name="Patient" sequence="10" |
|||
parent="lab_patient_menu_root" |
|||
groups="group_lab_management_user,group_lab_management_technician"/> |
|||
<menuitem id="menu_lab_patient_child" name="Patient" sequence="10" |
|||
parent="lab_patient_menu" action="act_open_lab_patient_view" |
|||
groups="group_lab_management_user,group_lab_management_technician"/> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,118 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<odoo> |
|||
<data> |
|||
<!-- Creating lab request form view--> |
|||
<record id="lab_request_view_tree" model="ir.ui.view"> |
|||
<field name="name">lab.request.view.tree</field> |
|||
<field name="model">lab.request</field> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Lab Request"> |
|||
<field name="name" /> |
|||
<field name="lab_requestor" /> |
|||
<field name="lab_request_id" /> |
|||
<field name="test_request" /> |
|||
<field name="state" /> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
<record id="lab_request_view_form" model="ir.ui.view"> |
|||
<field name="name">lab.request.view.form</field> |
|||
<field name="model">lab.request</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Lab Request"> |
|||
<header> |
|||
<button name="action_set_to_sample_collection" invisible="state not in 'draft'" string="Sample Collection" type="object" class="oe_highlight"/> |
|||
<button name="action_set_to_test_in_progress" invisible="state not in 'sample_collection'" string="Test In Progress" type="object" class="oe_highlight"/> |
|||
<button name="action_set_to_test_completed" invisible="state not in 'test_in_progress'" string="Complete Test" type="object" class="oe_highlight"/> |
|||
<button name="action_print_lab_test" invisible="state not in ('completed','invoiced')" string="Print Lab Test" type="object" class="oe_highlight"/> |
|||
<button name="action_cancel_lab_test" invisible="state not in 'draft'" string="Cancel" type="object"/> |
|||
<field name="state" widget="statusbar" statusbar_visible="draft,sample_collection,test_in_progress,completed" statusbar_colors='{"Completed":"blue","Test In Progress":"red","Invoiced":"grey"}'/> |
|||
</header> |
|||
<sheet> |
|||
<div class="oe_left" style="width: 500px;"> |
|||
<div class="oe_title" style="width: 390px;"> |
|||
<label class="oe_edit_only" for="name"/> |
|||
<h1><field name="name" class="oe_inline"/></h1> |
|||
</div> |
|||
</div> |
|||
<group> |
|||
<group col="4" colspan="4"> |
|||
<field name="lab_requestor" readonly="state != 'draft'"/> |
|||
<field name="lab_request_id"/> |
|||
<field name="lab_requesting_date" /> |
|||
<field name="test_request"/> |
|||
<field name="app_id" invisible="1"/> |
|||
</group> |
|||
</group> |
|||
<notebook colspan="4"> |
|||
<page string="Test lines"> |
|||
<field name="request_line"> |
|||
<tree string="Test lines" editable="bottom"> |
|||
<field name="test_content" /> |
|||
<field name="unit"/> |
|||
<field name="interval"/> |
|||
<field name="result"/> |
|||
</tree> |
|||
</field> |
|||
</page> |
|||
<page name="Note" |
|||
string="Note"> |
|||
<field name="comment"/> |
|||
</page> |
|||
</notebook> |
|||
</sheet> |
|||
<div class="oe_chatter"> |
|||
<field name="message_follower_ids" widget="mail_followers" groups="base.group_user"/> |
|||
<field name="message_ids" widget="mail_thread"/> |
|||
</div> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<record id="lab_request_view_search" model="ir.ui.view"> |
|||
<field name="name">lab.request.view.search</field> |
|||
<field name="model">lab.request</field> |
|||
<field name="priority" eval="8" /> |
|||
<field name="arch" type="xml"> |
|||
<search string="Lab Request"> |
|||
<field name="lab_requestor" /> |
|||
<field name="lab_request_id" /> |
|||
<field name="app_id" /> |
|||
<newline /> |
|||
<group expand="0" string="Group By..."> |
|||
<filter name="lab_requestor" string="Patient" |
|||
domain="[]" context="{'group_by':'lab_requestor'}" /> |
|||
<filter name="lab_request_id" string="Date" |
|||
domain="[]" context="{'group_by':'lab_request_id'}" /> |
|||
</group> |
|||
</search> |
|||
</field> |
|||
</record> |
|||
<record model="ir.actions.act_window" id="act_open_lab_request_view"> |
|||
<field name="name">Lab Request</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">lab.request</field> |
|||
<field name="view_mode">tree,form</field> |
|||
<field name="search_view_id" ref="lab_request_view_search" /> |
|||
<field name="domain">[]</field> |
|||
<field name="context">{}</field> |
|||
<field name="help" type="html"> |
|||
<p class="oe_view_nocontent_create"> |
|||
Create Lab request. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
<record model="ir.sequence" id="seq_lab_request"> |
|||
<field name="name">Lab Request</field> |
|||
<field name="code">lab.request</field> |
|||
<field name="prefix">LR</field> |
|||
<field name="padding">3</field> |
|||
<field name="company_id" eval="False" /> |
|||
</record> |
|||
<menuitem id="menu_lab_request" name="Lab Request" sequence="12" |
|||
parent="lab_patient_menu_root" |
|||
groups="group_lab_management_user,group_lab_management_technician"/> |
|||
<menuitem id="menu_lab_request_child" name="Lab Request" sequence="10" |
|||
parent="menu_lab_request" action="act_open_lab_request_view" |
|||
groups="group_lab_management_user,group_lab_management_technician"/> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,72 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<odoo> |
|||
<data> |
|||
<!-- Creating lab test content type view--> |
|||
<record id="lab_test_content_type_view_tree" model="ir.ui.view"> |
|||
<field name="name">lab.test.content_type.view.tree</field> |
|||
<field name="model">lab.test.content_type</field> |
|||
<field name="priority" eval="8"/> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Contents"> |
|||
<field name="content_type_name"/> |
|||
<field name="content_type_code"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
<record id="lab_test_content_type_view_form" model="ir.ui.view"> |
|||
<field name="name">lab.test.content_type.form</field> |
|||
<field name="model">lab.test.content_type</field> |
|||
<field name="priority" eval="8"/> |
|||
<field name="arch" type="xml"> |
|||
<form string="Contents"> |
|||
<sheet> |
|||
<group> |
|||
<group col="4" colspan="4"> |
|||
<field name="content_type_name"/> |
|||
<field name="content_type_code"/> |
|||
</group> |
|||
</group> |
|||
</sheet> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<record id="lab_test_content_type_view_search" model="ir.ui.view"> |
|||
<field name="name">lab.test.content_type.view.search</field> |
|||
<field name="model">lab.test.content_type</field> |
|||
<field name="priority" eval="8"/> |
|||
<field name="arch" type="xml"> |
|||
<search string="Test Content"> |
|||
<field name="content_type_name"/> |
|||
<field name="content_type_code"/> |
|||
<newline/> |
|||
<group expand="0" string="Group By..."> |
|||
<filter name="content_type_name" string="Content" |
|||
domain="[]" |
|||
context="{'group_by':'content_type_name'}"/> |
|||
<filter name="content_type_code" string="Content Code" |
|||
domain="[]" |
|||
context="{'group_by':'content_type_code'}"/> |
|||
</group> |
|||
</search> |
|||
</field> |
|||
</record> |
|||
<record model="ir.actions.act_window" id="act_open_lab_content_view"> |
|||
<field name="name">Test Contents</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">lab.test.content_type</field> |
|||
<field name="view_mode">tree,form</field> |
|||
<field name="domain">[]</field> |
|||
<field name="search_view_id" |
|||
ref="lab_test_content_type_view_search"/> |
|||
<field name="context">{}</field> |
|||
<field name="help" type="html"> |
|||
<p class="oe_view_nocontent_create"> |
|||
Create Test Contents. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
<menuitem id="menu_lab_content" name="Test Content" sequence="10" |
|||
parent="test_unit_menu" action="act_open_lab_content_view" |
|||
groups="group_lab_management_user,group_lab_management_technician"/> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,97 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<odoo> |
|||
<data> |
|||
<!-- Creating lab test view--> |
|||
<record id="lab_test_view_tree" model="ir.ui.view"> |
|||
<field name="name">lab.test.view.tree</field> |
|||
<field name="model">lab.test</field> |
|||
<field name="priority" eval="8" /> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Lab Test"> |
|||
<field name="lab_test" /> |
|||
<field name="lab_test_code" /> |
|||
<field name="test_cost" /> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
<record id="lab_test_view_form" model="ir.ui.view"> |
|||
<field name="name">lab.test.view.form</field> |
|||
<field name="model">lab.test</field> |
|||
<field name="priority" eval="8" /> |
|||
<field name="arch" type="xml"> |
|||
<form string="Lab Test"> |
|||
<sheet> |
|||
<group> |
|||
<group col="4" colspan="4"> |
|||
<field name="lab_test" /> |
|||
<field name="lab_test_code"/> |
|||
<field name="test_cost" /> |
|||
</group> |
|||
</group> |
|||
<notebook> |
|||
<page string="Lab Test Type" style="overflow-x:scroll;"> |
|||
<field name="test_lines" nolabel="1"> |
|||
<tree string="Lab Test Type" editable="bottom"> |
|||
<field name="test_content" /> |
|||
<field name="unit"/> |
|||
<field name="interval"/> |
|||
</tree> |
|||
</field> |
|||
</page> |
|||
</notebook> |
|||
</sheet> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<record id="lab_test_view_search" model="ir.ui.view"> |
|||
<field name="name">lab.test.view.search</field> |
|||
<field name="model">lab.test</field> |
|||
<field name="priority" eval="8" /> |
|||
<field name="arch" type="xml"> |
|||
<search string="Lab Test"> |
|||
<field name="lab_test" /> |
|||
<newline /> |
|||
<group expand="0" string="Group By..."> |
|||
<filter name="lab_test" string="Test" |
|||
domain="[]" context="{'group_by':'lab_test'}" /> |
|||
</group> |
|||
</search> |
|||
</field> |
|||
</record> |
|||
<record id="action_lab_test" model="ir.actions.act_window"> |
|||
<field name="name">Lab Test</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">lab.test</field> |
|||
<field name="view_mode">tree,form</field> |
|||
<field name="search_view_id" ref="lab_test_view_search" /> |
|||
<field name="domain">[]</field> |
|||
<field name="context">{}</field> |
|||
<field name="help" type="html"> |
|||
<p class="oe_view_nocontent_create"> |
|||
Create Lab Tests. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
|
|||
<menuitem id="menu_lab_test" name="Lab Test" sequence="1" |
|||
parent="test_unit_menu" action="action_lab_test" |
|||
groups="group_lab_management_user,group_lab_management_technician"/> |
|||
<record id="lab_test_attribute_view_form" model="ir.ui.view"> |
|||
<field name="name">lab.test.attribute.view.form</field> |
|||
<field name="model">lab.test.attribute</field> |
|||
<field name="priority" eval="8" /> |
|||
<field name="arch" type="xml"> |
|||
<form string="Lab Test Type Attribute"> |
|||
<group> |
|||
<group col="4" colspan="4"> |
|||
<field name="test_content" /> |
|||
<field name="result"/> |
|||
<field name="unit" /> |
|||
<field name="interval"/> |
|||
</group> |
|||
</group> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,26 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<data> |
|||
<!-- Adding fields to res partner--> |
|||
<record model="ir.actions.act_window" id="action_physician"> |
|||
<field name="name">Physician</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">res.partner</field> |
|||
<field name="view_mode">tree,form</field> |
|||
<field name="domain">[('is_physician','=',1)]</field> |
|||
<field name="context">{'default_customer':0, 'default_supplier':0 , 'default_is_physician':1}</field> |
|||
<field name="filter" eval="True"/> |
|||
<field name="help" type="html"> |
|||
<p class="oe_view_nocontent_create"> |
|||
Click to add physician. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
<menuitem id="menu_physician" name="Referrals From" sequence="18" |
|||
parent="lab_patient_menu_root" |
|||
groups="group_lab_management_user,group_lab_management_technician"/> |
|||
<menuitem id="menu_physician_child" name="Physician" sequence="1" |
|||
parent="menu_physician" action="action_physician" |
|||
groups="group_lab_management_user,group_lab_management_technician"/> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,19 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<data> |
|||
<!-- Creating a form view for physician speciality--> |
|||
<record id="physician_speciality_view_form" model="ir.ui.view"> |
|||
<field name="name">physician.speciality.view.form</field> |
|||
<field name="model">physician.speciality</field> |
|||
<field name="priority" eval="8" /> |
|||
<field name="arch" type="xml"> |
|||
<form string="Specialty"> |
|||
<group> |
|||
<field name="code" /> |
|||
<field name="name" /> |
|||
</group> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,25 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<odoo> |
|||
<data> |
|||
<!-- Inheriting res partner form view--> |
|||
<record id="view_partner_form" model="ir.ui.view"> |
|||
<field name="name">view.partner.form.inherit.medical.lab.management</field> |
|||
<field name="model">res.partner</field> |
|||
<field name="inherit_id" ref="base.view_partner_form"/> |
|||
<field name="arch" type="xml"> |
|||
<notebook position="inside"> |
|||
<page string="Lab" groups="base.group_user"> |
|||
<group> |
|||
<field name="is_patient"/> |
|||
<field name="is_physician"/> |
|||
<field name="speciality" |
|||
invisible="is_physician == False"/> |
|||
<field name="hospital" |
|||
invisible="is_physician == False"/> |
|||
</group> |
|||
</page> |
|||
</notebook> |
|||
</field> |
|||
</record> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,72 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<odoo> |
|||
<data> |
|||
<!-- Creating test unit view--> |
|||
<record id="test_unit_view_tree" model="ir.ui.view"> |
|||
<field name="name">test.unit.view.tree</field> |
|||
<field name="model">test.unit</field> |
|||
<field name="priority" eval="8" /> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Test Unit"> |
|||
<field name="unit" /> |
|||
<field name="code" /> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
<record id="test_unit_view_form" model="ir.ui.view"> |
|||
<field name="name">test.unit.view.form</field> |
|||
<field name="model">test.unit</field> |
|||
<field name="priority" eval="8" /> |
|||
<field name="arch" type="xml"> |
|||
<form string="Test Unit"> |
|||
<sheet> |
|||
<group> |
|||
<group> |
|||
<field name="unit" /> |
|||
</group> |
|||
<group> |
|||
<field name="code" /> |
|||
</group> |
|||
</group> |
|||
</sheet> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<record id="test_unit_view_search" model="ir.ui.view"> |
|||
<field name="name">test.unit.search</field> |
|||
<field name="model">test.unit</field> |
|||
<field name="priority" eval="8" /> |
|||
<field name="arch" type="xml"> |
|||
<search string="Testing Unit"> |
|||
<field name="unit" /> |
|||
<group expand="0" string="Group By..."> |
|||
<filter name="unit" string="Blood Group"/> |
|||
</group> |
|||
</search> |
|||
</field> |
|||
</record> |
|||
<record id="action_test_unit" model="ir.actions.act_window"> |
|||
<field name="name">Testing Units</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">test.unit</field> |
|||
<field name="view_mode">tree,form</field> |
|||
<field name="search_view_id" ref="test_unit_view_search" /> |
|||
<field name="domain">[]</field> |
|||
<field name="context">{}</field> |
|||
<field name="help" type="html"> |
|||
<p class="oe_view_nocontent_create"> |
|||
Create Testing Units. |
|||
</p> |
|||
</field> |
|||
</record> |
|||
<menuitem id="test_unit_menu" |
|||
name="Configuration" |
|||
parent="lab_patient_menu_root" |
|||
sequence="100"/> |
|||
<menuitem name="Testing Unit" |
|||
id="test_unit_conf" |
|||
parent="test_unit_menu" |
|||
action="action_test_unit" |
|||
sequence="20" /> |
|||
</data> |
|||
</odoo> |