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

Conversation

LucasTran380381
Copy link

@LucasTran380381 LucasTran380381 commented Oct 29, 2024

Changes:

  • remove string redundant in fields
  • remove migrations directory
  • change tree view to list view

Iryna Vushnevska and others added 24 commits October 29, 2024 10:05
Currently translated at 68.3% (28 of 41 strings)

Translation: product-attribute-13.0/product-attribute-13.0-product_medical
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-13-0/product-attribute-13-0-product_medical/de/
Currently translated at 100.0% (41 of 41 strings)

Translation: product-attribute-13.0/product-attribute-13.0-product_medical
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-13-0/product-attribute-13-0-product_medical/de/
Currently translated at 100.0% (41 of 41 strings)

Translation: product-attribute-13.0/product-attribute-13.0-product_medical
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-13-0/product-attribute-13-0-product_medical/de/
Currently translated at 100.0% (41 of 41 strings)

Translation: product-attribute-13.0/product-attribute-13.0-product_medical
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-13-0/product-attribute-13-0-product_medical/es/
Currently translated at 100.0% (41 of 41 strings)

Translation: product-attribute-13.0/product-attribute-13.0-product_medical
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-13-0/product-attribute-13-0-product_medical/ca/
1. The layout for the old tab MDR (now called Conformity)
   has been changed to split the fields into two categories:
   conformity-related and documents-related.

2. The two fields storing the "Declaration of Conformity" and
   the "CE Certificate Medical class", that before stored an
   attachment, now allow to store several attachments.
       To make this change, a migration script has been
   provided, because the field names have changed to adhere
   to the naming conventions.

3. The string for the field ce_certificate_medical_class_ids
   has changed from 'CE Certificate Medical class' to 'CE Certificate'.
   The translation files have been updated.
- Medical Class -> Medical Device Class
- Medical Category > Drug Category
The attributes for the Conformity Configuration (Medical Class,
Medical Category, PPE Category, and In Vitro Diagnostics) had no
views associated to them, so the only way of accessing them was
through the entry they have in the form for product.template.

With this PR, tree views and their actions have been added, so
that they can be reused in other modules to accessed them
from custom menu-items.
Currently translated at 100.0% (52 of 52 strings)

Translation: product-attribute-14.0/product-attribute-14.0-product_medical
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-product_medical/ca/
Currently translated at 80.7% (42 of 52 strings)

Translation: product-attribute-14.0/product-attribute-14.0-product_medical
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-product_medical/it/
Currently translated at 100.0% (52 of 52 strings)

Translation: product-attribute-14.0/product-attribute-14.0-product_medical
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-product_medical/it/
Currently translated at 84.6% (44 of 52 strings)

Translation: product-attribute-14.0/product-attribute-14.0-product_medical
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-product_medical/de/
Currently translated at 100.0% (52 of 52 strings)

Translation: product-attribute-14.0/product-attribute-14.0-product_medical
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-product_medical/it/
Currently translated at 100.0% (52 of 52 strings)

Translation: product-attribute-14.0/product-attribute-14.0-product_medical
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-product_medical/de/
Currently translated at 100.0% (52 of 52 strings)

Translation: product-attribute-14.0/product-attribute-14.0-product_medical
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-product_medical/es/
@LucasTran380381 LucasTran380381 changed the title 18.0 mig product medical [18.0][MIG] product_medical: Migration to 18.0 Oct 30, 2024
@LucasTran380381 LucasTran380381 mentioned this pull request Oct 30, 2024
24 tasks
@rousseldenis
Copy link
Contributor

/ocabot migration product_medical

Copy link
Contributor

@rousseldenis rousseldenis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review.

Even if some fields in product template should maybe include 'medical' in their names to avoid possible conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.