Skip to content

Commit

Permalink
Merge PR #1753 into 18.0
Browse files Browse the repository at this point in the history
Signed-off-by sebalix
  • Loading branch information
OCA-git-bot committed Dec 24, 2024
2 parents 14f2e81 + cf0503e commit 7e9a1c7
Show file tree
Hide file tree
Showing 32 changed files with 2,549 additions and 0 deletions.
90 changes: 90 additions & 0 deletions product_medical/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
===============
Product Medical
===============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:406c19e8aff32b17ccfe87887e9eecda05520ecba9cc9e2d515e894dfccebbda
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github
:target: https://github.com/OCA/product-attribute/tree/18.0/product_medical
:alt: OCA/product-attribute
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_medical
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/product-attribute&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Customization for product model, developed based on
https://www.fda.gov/medical-devices/medical-device-safety/medical-device-reporting-mdr-how-report-medical-device-problems

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/product-attribute/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/product-attribute/issues/new?body=module:%20product_medical%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Camptocamp

Contributors
------------

- Iryna Vyshnevska, Camptocamp
- `Trobz <https://trobz.com>`__:

- Dung Tran <[email protected]>
- Nhan Tran <[email protected]>

Other credits
-------------

The development of this module has been financially supported by:

- Akretion <https://akretion.com>
- La Base <https://labase.coop>
- Camptocamp

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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

This module is part of the `OCA/product-attribute <https://github.com/OCA/product-attribute/tree/18.0/product_medical>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions product_medical/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
31 changes: 31 additions & 0 deletions product_medical/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright 2020 Iryna Vyshnevska,Camptocamp
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Product Medical",
"summary": "Base structure to handle medical products",
"version": "18.0.1.0.0",
"author": "Camptocamp, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/product-attribute",
"license": "AGPL-3",
"category": "Product",
"depends": ["product"],
"data": [
"data/medical_data.xml",
"data/in_vitro_diagnostic_data.xml",
"data/medicine_category_data.xml",
"data/ppe_category_data.xml",
"security/ir.model.access.csv",
"views/product_template.xml",
"views/in_vitro_diagnostic.xml",
"views/medical_class.xml",
"views/medicine_category.xml",
"views/ppe_category.xml",
],
"installable": True,
"external_dependencies": {
"python": [
"openupgradelib",
],
},
}
15 changes: 15 additions & 0 deletions product_medical/data/in_vitro_diagnostic_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo noupdate="1">
<record id="in_vitro_1" model="in.vitro.diagnostic">
<field name="name">InVitroDiagnostika-A</field>
</record>
<record id="in_vitro_2" model="in.vitro.diagnostic">
<field name="name">InVitroDiagnostika-B</field>
</record>
<record id="in_vitro_3" model="in.vitro.diagnostic">
<field name="name">InVitroDiagnostika-C</field>
</record>
<record id="in_vitro_4" model="in.vitro.diagnostic">
<field name="name">InVitroDiagnostika-D</field>
</record>
</odoo>
24 changes: 24 additions & 0 deletions product_medical/data/medical_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo noupdate="1">
<record id="medical_class_1" model="medical.class">
<field name="name">CE Class I</field>
</record>
<record id="medical_class_2" model="medical.class">
<field name="name">CE Class Im</field>
</record>
<record id="medical_class_3" model="medical.class">
<field name="name">CE Class Is</field>
</record>
<record id="medical_class_4" model="medical.class">
<field name="name">CE Class Ir</field>
</record>
<record id="medical_class_5" model="medical.class">
<field name="name">CE Class IIa</field>
</record>
<record id="medical_class_6" model="medical.class">
<field name="name">CE Class IIb</field>
</record>
<record id="medical_class_7" model="medical.class">
<field name="name">CE Class III</field>
</record>
</odoo>
9 changes: 9 additions & 0 deletions product_medical/data/medicine_category_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo noupdate="1">
<record id="category_d" model="medicine.category">
<field name="name">Drug-D</field>
</record>
<record id="category_e" model="medicine.category">
<field name="name">Drug-E</field>
</record>
</odoo>
12 changes: 12 additions & 0 deletions product_medical/data/ppe_category_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo noupdate="1">
<record id="ppe_category_1" model="ppe.category">
<field name="name">|</field>
</record>
<record id="ppe_category_2" model="ppe.category">
<field name="name">||</field>
</record>
<record id="ppe_category_3" model="ppe.category">
<field name="name">|||</field>
</record>
</odoo>
Loading

0 comments on commit 7e9a1c7

Please sign in to comment.