Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] product_medical: Migration to 18.0 #1753

Open
wants to merge 24 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
bd328b3
[ADD] product_medical: create
Jun 23, 2020
05f91db
Translated using Weblate (German)
didierdonze Jul 21, 2020
f8c8e2f
Translated using Weblate (German)
didierdonze Jul 22, 2020
5d9071c
Translated using Weblate (German)
didierdonze Sep 28, 2020
d28aab7
Added translation using Weblate (Spanish)
claudiagn Feb 23, 2021
b75f33a
Added translation using Weblate (Catalan)
claudiagn Feb 23, 2021
15a377e
Translated using Weblate (Spanish)
claudiagn Feb 23, 2021
88ebe76
Translated using Weblate (Catalan)
claudiagn Feb 23, 2021
ec56161
[IMP] product_medical: Change in layout, add multiple docs
Jul 9, 2020
cc9dc0a
[FIX] product_medical: minor changes in labels
Mar 4, 2021
b2e8771
[IMP] product_medical: views for conformity categories
Mar 4, 2021
0dda36f
[IMP] product_medical: black, isort, prettier
dzungtran89 Jun 27, 2021
beb3cf1
[MIG] product_medical: Migration to 14.0
dzungtran89 Jun 27, 2021
e5c782c
Translated using Weblate (Catalan)
Noel000 Mar 22, 2022
eb545c6
Added translation using Weblate (Italian)
mymage Oct 31, 2023
de624a2
Translated using Weblate (Italian)
mymage Nov 1, 2023
deeef10
Translated using Weblate (Italian)
mymage Nov 3, 2023
ba89638
Translated using Weblate (German)
psc Nov 5, 2023
bc13513
Translated using Weblate (Italian)
mymage Nov 6, 2023
2faa12b
Translated using Weblate (German)
psc Dec 27, 2023
95ea1c6
Translated using Weblate (Spanish)
Ivorra78 Jan 13, 2024
5b53947
[IMP] product_medical: pre-commit auto fixes
Oct 29, 2024
ab65fb2
[IMP] product_medical: pre-commit execution
Oct 29, 2024
3e16987
[MIG] product_medical: Migration to 18.0
Oct 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
26 changes: 26 additions & 0 deletions product_medical/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 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,
}
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
Loading