Browse Source

[ADD] Initial Commit ''employee_covid_vaccination_info

pull/179/head
Ajmal Cybro 4 years ago
parent
commit
78b6719215
  1. 41
      employee_covid_vaccination_info/README.rst
  2. 24
      employee_covid_vaccination_info/__init__.py
  3. 46
      employee_covid_vaccination_info/__manifest__.py
  4. 6
      employee_covid_vaccination_info/doc/RELEASE_NOTES.md
  5. 542
      employee_covid_vaccination_info/i18n/ar_001.po
  6. 542
      employee_covid_vaccination_info/i18n/ar_SY.po
  7. 29
      employee_covid_vaccination_info/models/__init__.py
  8. 50
      employee_covid_vaccination_info/models/employee_vaccination_details.py
  9. 42
      employee_covid_vaccination_info/models/hr_employee.py
  10. 35
      employee_covid_vaccination_info/models/vaccine_centre.py
  11. 38
      employee_covid_vaccination_info/models/vaccine_info.py
  12. 10
      employee_covid_vaccination_info/security/ir.model.access.csv
  13. BIN
      employee_covid_vaccination_info/static/description/assets/icons/check.png
  14. BIN
      employee_covid_vaccination_info/static/description/assets/icons/chevron.png
  15. BIN
      employee_covid_vaccination_info/static/description/assets/icons/cogs.png
  16. BIN
      employee_covid_vaccination_info/static/description/assets/icons/consultation.png
  17. BIN
      employee_covid_vaccination_info/static/description/assets/icons/ecom-black.png
  18. BIN
      employee_covid_vaccination_info/static/description/assets/icons/education-black.png
  19. BIN
      employee_covid_vaccination_info/static/description/assets/icons/hotel-black.png
  20. BIN
      employee_covid_vaccination_info/static/description/assets/icons/license.png
  21. BIN
      employee_covid_vaccination_info/static/description/assets/icons/lifebuoy.png
  22. BIN
      employee_covid_vaccination_info/static/description/assets/icons/manufacturing-black.png
  23. BIN
      employee_covid_vaccination_info/static/description/assets/icons/pos-black.png
  24. BIN
      employee_covid_vaccination_info/static/description/assets/icons/puzzle.png
  25. BIN
      employee_covid_vaccination_info/static/description/assets/icons/restaurant-black.png
  26. BIN
      employee_covid_vaccination_info/static/description/assets/icons/service-black.png
  27. BIN
      employee_covid_vaccination_info/static/description/assets/icons/trading-black.png
  28. BIN
      employee_covid_vaccination_info/static/description/assets/icons/training.png
  29. BIN
      employee_covid_vaccination_info/static/description/assets/icons/update.png
  30. BIN
      employee_covid_vaccination_info/static/description/assets/icons/user.png
  31. BIN
      employee_covid_vaccination_info/static/description/assets/icons/wrench.png
  32. BIN
      employee_covid_vaccination_info/static/description/assets/logo.png
  33. BIN
      employee_covid_vaccination_info/static/description/assets/modules/approval_image.png
  34. BIN
      employee_covid_vaccination_info/static/description/assets/modules/gantt_image.png
  35. BIN
      employee_covid_vaccination_info/static/description/assets/modules/hide_menu_image.png
  36. BIN
      employee_covid_vaccination_info/static/description/assets/modules/laundry_image.png
  37. BIN
      employee_covid_vaccination_info/static/description/assets/modules/list_view_image.png
  38. BIN
      employee_covid_vaccination_info/static/description/assets/modules/print_image.png
  39. BIN
      employee_covid_vaccination_info/static/description/assets/screenshots/employee_covid_vaccine1.png
  40. BIN
      employee_covid_vaccination_info/static/description/assets/screenshots/employee_covid_vaccine2.png
  41. BIN
      employee_covid_vaccination_info/static/description/assets/screenshots/employee_covid_vaccine3.png
  42. BIN
      employee_covid_vaccination_info/static/description/assets/screenshots/employee_covid_vaccine4.png
  43. BIN
      employee_covid_vaccination_info/static/description/assets/screenshots/hero.png
  44. BIN
      employee_covid_vaccination_info/static/description/banner.png
  45. BIN
      employee_covid_vaccination_info/static/description/icon.png
  46. 621
      employee_covid_vaccination_info/static/description/index.html
  47. 93
      employee_covid_vaccination_info/views/hr_employee.xml
  48. 63
      employee_covid_vaccination_info/views/vaccine_centre.xml
  49. 82
      employee_covid_vaccination_info/views/vaccine_info.xml

41
employee_covid_vaccination_info/README.rst

@ -0,0 +1,41 @@
Employee Covid Vaccination Details
===================================
* Employee Covid Vaccination Details V14
Installation
------------
- https://www.odoo.com/documentation/14.0/setup/install.html
- Download and Install our custom addon from odoo app store
License
-------
General Public License, Version 3 (LGPL v3)
https://www.odoo.com/documentation/user/14.0/legal/licenses/licenses.html
Company
-------
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__
Credits
-------
* Developer
Cybrosys Techno Solutions
Contacts
--------
* Mail Contact : odoo@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
----------
This module is maintained by Cybrosys Technologies Pvt. Ltd.
For support and more information, please visit https://www.cybrosys.com
Further information
-------------------
HTML Description `<static/description/index.html>`__

24
employee_covid_vaccination_info/__init__.py

@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from . import models

46
employee_covid_vaccination_info/__manifest__.py

@ -0,0 +1,46 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
{
'name': 'Employee Covid Vaccination Details',
'version': '14.0.1.0.0',
'summary': """Employee Covid Vaccination Details""",
'description': "Employee Covid Vaccination Details, Employee Covid Vaccination Detail,"
"Employee Vaccination Details, Vaccination Details, Vaccination, Covid Vaccination, Covid Vaccine,"
"Vaccine, Covid, Covid19, Corona",
'category': 'Generic Modules/Human Resources',
'author': 'Cybrosys Techno solutions',
'company': 'Cybrosys Techno Solutions',
'maintainer': 'Cybrosys Techno Solutions',
'website': 'https://www.cybrosys.com',
'depends': ['hr'],
'data': [
'security/ir.model.access.csv',
'views/vaccine_info.xml',
'views/vaccine_centre.xml',
'views/hr_employee.xml',
],
'images': ['static/description/banner.png'],
'license': 'LGPL-3',
'installable': True,
'auto_install': False,
'application': False,
}

6
employee_covid_vaccination_info/doc/RELEASE_NOTES.md

@ -0,0 +1,6 @@
## Module <employee_covid_vaccination_info>
#### 13.08.2021
#### Version 14.0.1.0.0
##### ADD
- Initial commit for 'Employee Covid Vaccination Details'

542
employee_covid_vaccination_info/i18n/ar_001.po

@ -0,0 +1,542 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * employee_covid_vaccination_info
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-08-14 07:29+0000\n"
"PO-Revision-Date: 2021-08-14 07:29+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: employee_covid_vaccination_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.hr_employee_vaccine_form_view
msgid "<span class=\"ml8\">Days</span>"
msgstr "أيام"
#. module: employee_covid_vaccination_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
msgid ""
"<span class=\"o_stat_value\" attrs=\"{'invisible': [('vaccination_status', '!=', 'full')]}\">\n"
" <b>Vaccinated</b>\n"
" </span>\n"
" <span class=\"o_stat_value\" attrs=\"{'invisible': [('vaccination_status', '!=', 'partial')]}\">\n"
" <b>Partially</b>\n"
" </span>\n"
" <span class=\"o_stat_value\" attrs=\"{'invisible': [('vaccination_status', '!=', 'no')]}\">\n"
" <b>Not Vaccinated</b>\n"
" </span>"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_needaction
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_needaction
msgid "Action Needed"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_ids
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_ids
msgid "Activities"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_exception_decoration
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_exception_decoration
msgid "Activity Exception Decoration"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_state
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_state
msgid "Activity State"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_type_icon
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_type_icon
msgid "Activity Type Icon"
msgstr ""
#. module: employee_covid_vaccination_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
msgid "Add Certificate"
msgstr "أضف شهادة"
#. module: employee_covid_vaccination_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
msgid "Add Vaccination"
msgstr "أضف التطعيم"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_attachment_count
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_attachment_count
msgid "Attachment Count"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model,name:employee_covid_vaccination_info.model_hr_employee_base
msgid "Basic Employee"
msgstr "الموظف الأساسي"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/vaccine_centre.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__name
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.hr_employee_vaccine_centre_form_view
#, python-format
msgid "Centre Name"
msgstr "اسم المركز"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__vaccine_certificate_ids
msgid "Certificates"
msgstr "الشهادات"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/vaccine_info.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__company
#, python-format
msgid "Company"
msgstr "شركة"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/vaccine_centre.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__contact_details
#, python-format
msgid "Contact Details"
msgstr "بيانات المتصل"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__country_id
msgid "Country of Origin"
msgstr "بلد المنشأ"
#. module: employee_covid_vaccination_info
#: model_terms:ir.actions.act_window,help:employee_covid_vaccination_info.action_hhr_employee_vaccine_centre
msgid "Create a Vaccination Centre"
msgstr "إنشاء مركز التطعيم"
#. module: employee_covid_vaccination_info
#: model_terms:ir.actions.act_window,help:employee_covid_vaccination_info.action_hr_employee_vaccine_info
msgid "Create a Vaccine"
msgstr "اصنع لقاحًا"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__create_uid
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__create_uid
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__create_uid
msgid "Created by"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__create_date
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__create_date
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__create_date
msgid "Created on"
msgstr ""
#. module: employee_covid_vaccination_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
msgid "Date"
msgstr "تاريخ"
#. module: employee_covid_vaccination_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.hr_employee_vaccine_form_view
msgid "Details"
msgstr "تفاصيل"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_base__display_name
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__display_name
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__display_name
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__display_name
msgid "Display Name"
msgstr "الاسم المعروض"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/employee_vaccination_details.py:0
#: code:addons/employee_covid_vaccination_info/models/hr_employee.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee__vaccine_dose_count
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_base__vaccine_dose_count
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_public__vaccine_dose_count
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__vaccine_dose
#, python-format
msgid "Dose"
msgstr "جرعة"
#. module: employee_covid_vaccination_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
msgid "Doses :"
msgstr "جرعات"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__employee_id
msgid "Employee"
msgstr "الموظف"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_follower_ids
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_follower_ids
msgid "Followers"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_channel_ids
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_channel_ids
msgid "Followers (Channels)"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_partner_ids
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_partner_ids
msgid "Followers (Partners)"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_type_icon
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_type_icon
msgid "Font awesome icon e.g. fa-tasks"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields.selection,name:employee_covid_vaccination_info.selection__hr_employee__vaccination_status__full
#: model:ir.model.fields.selection,name:employee_covid_vaccination_info.selection__hr_employee_base__vaccination_status__full
#: model:ir.model.fields.selection,name:employee_covid_vaccination_info.selection__hr_employee_public__vaccination_status__full
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
msgid "Fully Vaccinated"
msgstr "تم تلقيحها بالكامل"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_base__id
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__id
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__id
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__id
msgid "ID"
msgstr "المُعرف"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_exception_icon
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_exception_icon
msgid "Icon"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_exception_icon
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_exception_icon
msgid "Icon to indicate an exception activity."
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_needaction
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_unread
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_needaction
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_unread
msgid "If checked, new messages require your attention."
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_has_error
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_has_error
msgid "If checked, some messages have a delivery error."
msgstr ""
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/vaccine_info.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__period
#, python-format
msgid "Interval Between Doses"
msgstr "الفاصل الزمني بين الجرعات"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_is_follower
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_is_follower
msgid "Is Follower"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_base____last_update
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre____last_update
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info____last_update
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail____last_update
msgid "Last Modified on"
msgstr "آخر تعديل في"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__write_uid
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__write_uid
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__write_uid
msgid "Last Updated by"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__write_date
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__write_date
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__write_date
msgid "Last Updated on"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_main_attachment_id
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_main_attachment_id
msgid "Main Attachment"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_has_error
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_has_error
msgid "Message Delivery error"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_ids
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_ids
msgid "Messages"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__my_activity_date_deadline
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__my_activity_date_deadline
msgid "My Activity Deadline"
msgstr ""
#. module: employee_covid_vaccination_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.hr_employee_vaccine_form_view
msgid "Name"
msgstr "اسم"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_date_deadline
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_date_deadline
msgid "Next Activity Deadline"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_summary
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_summary
msgid "Next Activity Summary"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_type_id
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_type_id
msgid "Next Activity Type"
msgstr ""
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/vaccine_info.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__dose
#, python-format
msgid "No.of Doses"
msgstr "عدد الجرعات"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields.selection,name:employee_covid_vaccination_info.selection__hr_employee__vaccination_status__no
#: model:ir.model.fields.selection,name:employee_covid_vaccination_info.selection__hr_employee_base__vaccination_status__no
#: model:ir.model.fields.selection,name:employee_covid_vaccination_info.selection__hr_employee_public__vaccination_status__no
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
msgid "Not Vaccinated"
msgstr "غير مُلقح"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_needaction_counter
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_needaction_counter
msgid "Number of Actions"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__dose
msgid "Number of doses required"
msgstr "عدد الجرعات المطلوبة"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_has_error_counter
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_has_error_counter
msgid "Number of errors"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_needaction_counter
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_needaction_counter
msgid "Number of messages which requires an action"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_has_error_counter
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_has_error_counter
msgid "Number of messages with delivery error"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_unread_counter
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_unread_counter
msgid "Number of unread messages"
msgstr ""
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/vaccine_centre.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee__vaccine_note
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_base__vaccine_note
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_public__vaccine_note
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__other_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
#, python-format
msgid "Other Details"
msgstr "تفاصيل أخرى"
#. module: employee_covid_vaccination_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
msgid "Partially Vaccinated"
msgstr "تم تلقيحها جزئيا"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__period
msgid "Period between two doses in days"
msgstr "الفترة بين جرعتين في أيام"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_user_id
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_user_id
msgid "Responsible User"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__sequence
msgid "Sequence"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_state
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_state
msgid ""
"Status based on activities\n"
"Overdue: Due date is already passed\n"
"Today: Activity date is today\n"
"Planned: Future activities."
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_exception_decoration
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_exception_decoration
msgid "Type of the exception activity on record."
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_unread
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_unread
msgid "Unread Messages"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_unread_counter
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_unread_counter
msgid "Unread Messages Counter"
msgstr ""
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/employee_vaccination_details.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__vaccinated_by
#, python-format
msgid "Vaccinated By"
msgstr "تلقيح بواسطة"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__vaccinated_country_id
msgid "Vaccinated Country"
msgstr "البلد الملقح"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/employee_vaccination_details.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__dose_date
#, python-format
msgid "Vaccinated Date"
msgstr "تاريخ التطعيم"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__vaccinated_state_id
msgid "Vaccinated State"
msgstr "الدولة الملقحة"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/employee_vaccination_details.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__vaccination_centre_id
#: model:ir.ui.menu,name:employee_covid_vaccination_info.menu_hr_employee_vaccine_centre
#, python-format
msgid "Vaccination Centre"
msgstr "مركز التطعيم"
#. module: employee_covid_vaccination_info
#: model:ir.actions.act_window,name:employee_covid_vaccination_info.action_hhr_employee_vaccine_centre
msgid "Vaccination Centres"
msgstr "مركز التطعيم"
#. module: employee_covid_vaccination_info
#: model:ir.model,name:employee_covid_vaccination_info.model_vaccination_detail
#: model:ir.ui.menu,name:employee_covid_vaccination_info.menu_hr_employee_vaccine_config
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
msgid "Vaccination Details"
msgstr "تفاصيل التطعيم"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/hr_employee.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee__employee_vaccination_ids
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_base__employee_vaccination_ids
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_public__employee_vaccination_ids
#, python-format
msgid "Vaccination Information"
msgstr "معلومات التطعيم"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee__vaccination_status
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_base__vaccination_status
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_public__vaccination_status
msgid "Vaccination Status"
msgstr "حالة التطعيم"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/employee_vaccination_details.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__vaccine_id
#: model:ir.ui.menu,name:employee_covid_vaccination_info.menu_hr_employee_vaccine_info
#, python-format
msgid "Vaccine"
msgstr "مصل"
#. module: employee_covid_vaccination_info
#: model:ir.model,name:employee_covid_vaccination_info.model_hr_employee_vaccine_centre
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.hr_employee_vaccine_centre_form_view
msgid "Vaccine Centre"
msgstr "مركز اللقاحات"
#. module: employee_covid_vaccination_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
msgid "Vaccine Certificates"
msgstr "شهادات لقاح"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/employee_vaccination_details.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__vaccine_company
#, python-format
msgid "Vaccine Company"
msgstr "شركة اللقاحات"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/vaccine_info.py:0
#: model:ir.actions.act_window,name:employee_covid_vaccination_info.action_hr_employee_vaccine_info
#: model:ir.model,name:employee_covid_vaccination_info.model_hr_employee_vaccine_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__vaccine_details
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.hr_employee_vaccine_form_view
#, python-format
msgid "Vaccine Details"
msgstr "تفاصيل اللقاح"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/vaccine_info.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__name
#, python-format
msgid "Vaccine Name"
msgstr "اسم اللقاح"

542
employee_covid_vaccination_info/i18n/ar_SY.po

@ -0,0 +1,542 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * employee_covid_vaccination_info
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-08-14 07:07+0000\n"
"PO-Revision-Date: 2021-08-14 07:07+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: employee_covid_vaccination_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.hr_employee_vaccine_form_view
msgid "<span class=\"ml8\">Days</span>"
msgstr "أيام"
#. module: employee_covid_vaccination_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
msgid ""
"<span class=\"o_stat_value\" attrs=\"{'invisible': [('vaccination_status', '!=', 'full')]}\">\n"
" <b>Vaccinated</b>\n"
" </span>\n"
" <span class=\"o_stat_value\" attrs=\"{'invisible': [('vaccination_status', '!=', 'partial')]}\">\n"
" <b>Partially</b>\n"
" </span>\n"
" <span class=\"o_stat_value\" attrs=\"{'invisible': [('vaccination_status', '!=', 'no')]}\">\n"
" <b>Not Vaccinated</b>\n"
" </span>"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_needaction
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_needaction
msgid "Action Needed"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_ids
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_ids
msgid "Activities"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_exception_decoration
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_exception_decoration
msgid "Activity Exception Decoration"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_state
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_state
msgid "Activity State"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_type_icon
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_type_icon
msgid "Activity Type Icon"
msgstr ""
#. module: employee_covid_vaccination_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
msgid "Add Certificate"
msgstr "أضف شهادة"
#. module: employee_covid_vaccination_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
msgid "Add Vaccination"
msgstr "أضف التطعيم"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_attachment_count
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_attachment_count
msgid "Attachment Count"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model,name:employee_covid_vaccination_info.model_hr_employee_base
msgid "Basic Employee"
msgstr "الموظف الأساسي"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/vaccine_centre.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__name
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.hr_employee_vaccine_centre_form_view
#, python-format
msgid "Centre Name"
msgstr "اسم المركز"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__vaccine_certificate_ids
msgid "Certificates"
msgstr "الشهادات"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/vaccine_info.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__company
#, python-format
msgid "Company"
msgstr "شركة"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/vaccine_centre.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__contact_details
#, python-format
msgid "Contact Details"
msgstr "بيانات المتصل"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__country_id
msgid "Country of Origin"
msgstr "بلد المنشأ"
#. module: employee_covid_vaccination_info
#: model_terms:ir.actions.act_window,help:employee_covid_vaccination_info.action_hhr_employee_vaccine_centre
msgid "Create a Vaccination Centre"
msgstr "إنشاء مركز التطعيم"
#. module: employee_covid_vaccination_info
#: model_terms:ir.actions.act_window,help:employee_covid_vaccination_info.action_hr_employee_vaccine_info
msgid "Create a Vaccine"
msgstr "اصنع لقاحًا"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__create_uid
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__create_uid
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__create_uid
msgid "Created by"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__create_date
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__create_date
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__create_date
msgid "Created on"
msgstr ""
#. module: employee_covid_vaccination_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
msgid "Date"
msgstr "تاريخ"
#. module: employee_covid_vaccination_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.hr_employee_vaccine_form_view
msgid "Details"
msgstr "تفاصيل"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_base__display_name
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__display_name
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__display_name
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__display_name
msgid "Display Name"
msgstr "الاسم المعروض"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/employee_vaccination_details.py:0
#: code:addons/employee_covid_vaccination_info/models/hr_employee.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee__vaccine_dose_count
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_base__vaccine_dose_count
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_public__vaccine_dose_count
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__vaccine_dose
#, python-format
msgid "Dose"
msgstr "جرعة"
#. module: employee_covid_vaccination_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
msgid "Doses :"
msgstr "جرعات"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__employee_id
msgid "Employee"
msgstr "الموظف"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_follower_ids
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_follower_ids
msgid "Followers"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_channel_ids
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_channel_ids
msgid "Followers (Channels)"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_partner_ids
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_partner_ids
msgid "Followers (Partners)"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_type_icon
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_type_icon
msgid "Font awesome icon e.g. fa-tasks"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields.selection,name:employee_covid_vaccination_info.selection__hr_employee__vaccination_status__full
#: model:ir.model.fields.selection,name:employee_covid_vaccination_info.selection__hr_employee_base__vaccination_status__full
#: model:ir.model.fields.selection,name:employee_covid_vaccination_info.selection__hr_employee_public__vaccination_status__full
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
msgid "Fully Vaccinated"
msgstr "تم تلقيحها بالكامل"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_base__id
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__id
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__id
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__id
msgid "ID"
msgstr "المُعرف"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_exception_icon
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_exception_icon
msgid "Icon"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_exception_icon
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_exception_icon
msgid "Icon to indicate an exception activity."
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_needaction
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_unread
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_needaction
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_unread
msgid "If checked, new messages require your attention."
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_has_error
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_has_error
msgid "If checked, some messages have a delivery error."
msgstr ""
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/vaccine_info.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__period
#, python-format
msgid "Interval Between Doses"
msgstr "الفاصل الزمني بين الجرعات"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_is_follower
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_is_follower
msgid "Is Follower"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_base____last_update
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre____last_update
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info____last_update
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail____last_update
msgid "Last Modified on"
msgstr "آخر تعديل في"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__write_uid
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__write_uid
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__write_uid
msgid "Last Updated by"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__write_date
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__write_date
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__write_date
msgid "Last Updated on"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_main_attachment_id
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_main_attachment_id
msgid "Main Attachment"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_has_error
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_has_error
msgid "Message Delivery error"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_ids
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_ids
msgid "Messages"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__my_activity_date_deadline
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__my_activity_date_deadline
msgid "My Activity Deadline"
msgstr ""
#. module: employee_covid_vaccination_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.hr_employee_vaccine_form_view
msgid "Name"
msgstr "اسم"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_date_deadline
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_date_deadline
msgid "Next Activity Deadline"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_summary
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_summary
msgid "Next Activity Summary"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_type_id
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_type_id
msgid "Next Activity Type"
msgstr ""
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/vaccine_info.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__dose
#, python-format
msgid "No.of Doses"
msgstr "عدد الجرعات"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields.selection,name:employee_covid_vaccination_info.selection__hr_employee__vaccination_status__no
#: model:ir.model.fields.selection,name:employee_covid_vaccination_info.selection__hr_employee_base__vaccination_status__no
#: model:ir.model.fields.selection,name:employee_covid_vaccination_info.selection__hr_employee_public__vaccination_status__no
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
msgid "Not Vaccinated"
msgstr "غير مُلقح"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_needaction_counter
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_needaction_counter
msgid "Number of Actions"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__dose
msgid "Number of doses required"
msgstr "عدد الجرعات المطلوبة"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_has_error_counter
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_has_error_counter
msgid "Number of errors"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_needaction_counter
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_needaction_counter
msgid "Number of messages which requires an action"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_has_error_counter
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_has_error_counter
msgid "Number of messages with delivery error"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_unread_counter
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_unread_counter
msgid "Number of unread messages"
msgstr ""
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/vaccine_centre.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee__vaccine_note
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_base__vaccine_note
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_public__vaccine_note
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__other_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
#, python-format
msgid "Other Details"
msgstr "تفاصيل أخرى"
#. module: employee_covid_vaccination_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
msgid "Partially Vaccinated"
msgstr "تم تلقيحها جزئيا"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__period
msgid "Period between two doses in days"
msgstr "الفترة بين جرعتين في أيام"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_user_id
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_user_id
msgid "Responsible User"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__sequence
msgid "Sequence"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_state
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_state
msgid ""
"Status based on activities\n"
"Overdue: Due date is already passed\n"
"Today: Activity date is today\n"
"Planned: Future activities."
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__activity_exception_decoration
#: model:ir.model.fields,help:employee_covid_vaccination_info.field_hr_employee_vaccine_info__activity_exception_decoration
msgid "Type of the exception activity on record."
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_unread
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_unread
msgid "Unread Messages"
msgstr ""
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_centre__message_unread_counter
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__message_unread_counter
msgid "Unread Messages Counter"
msgstr ""
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/employee_vaccination_details.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__vaccinated_by
#, python-format
msgid "Vaccinated By"
msgstr "تلقيح بواسطة"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__vaccinated_country_id
msgid "Vaccinated Country"
msgstr "البلد الملقح"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/employee_vaccination_details.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__dose_date
#, python-format
msgid "Vaccinated Date"
msgstr "تاريخ التطعيم"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__vaccinated_state_id
msgid "Vaccinated State"
msgstr "الدولة الملقحة"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/employee_vaccination_details.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__vaccination_centre_id
#: model:ir.ui.menu,name:employee_covid_vaccination_info.menu_hr_employee_vaccine_centre
#, python-format
msgid "Vaccination Centre"
msgstr "مركز التطعيم"
#. module: employee_covid_vaccination_info
#: model:ir.actions.act_window,name:employee_covid_vaccination_info.action_hhr_employee_vaccine_centre
msgid "Vaccination Centres"
msgstr "مركز التطعيم"
#. module: employee_covid_vaccination_info
#: model:ir.model,name:employee_covid_vaccination_info.model_vaccination_detail
#: model:ir.ui.menu,name:employee_covid_vaccination_info.menu_hr_employee_vaccine_config
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
msgid "Vaccination Details"
msgstr "تفاصيل التطعيم"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/hr_employee.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee__employee_vaccination_ids
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_base__employee_vaccination_ids
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_public__employee_vaccination_ids
#, python-format
msgid "Vaccination Information"
msgstr "معلومات التطعيم"
#. module: employee_covid_vaccination_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee__vaccination_status
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_base__vaccination_status
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_public__vaccination_status
msgid "Vaccination Status"
msgstr "حالة التطعيم"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/employee_vaccination_details.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__vaccine_id
#: model:ir.ui.menu,name:employee_covid_vaccination_info.menu_hr_employee_vaccine_info
#, python-format
msgid "Vaccine"
msgstr "مصل"
#. module: employee_covid_vaccination_info
#: model:ir.model,name:employee_covid_vaccination_info.model_hr_employee_vaccine_centre
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.hr_employee_vaccine_centre_form_view
msgid "Vaccine Centre"
msgstr "مركز اللقاحات"
#. module: employee_covid_vaccination_info
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.view_employee_form_vaccine_details
msgid "Vaccine Certificates"
msgstr "شهادات لقاح"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/employee_vaccination_details.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_vaccination_detail__vaccine_company
#, python-format
msgid "Vaccine Company"
msgstr "شركة اللقاحات"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/vaccine_info.py:0
#: model:ir.actions.act_window,name:employee_covid_vaccination_info.action_hr_employee_vaccine_info
#: model:ir.model,name:employee_covid_vaccination_info.model_hr_employee_vaccine_info
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__vaccine_details
#: model_terms:ir.ui.view,arch_db:employee_covid_vaccination_info.hr_employee_vaccine_form_view
#, python-format
msgid "Vaccine Details"
msgstr "تفاصيل اللقاح"
#. module: employee_covid_vaccination_info
#: code:addons/employee_covid_vaccination_info/models/vaccine_info.py:0
#: model:ir.model.fields,field_description:employee_covid_vaccination_info.field_hr_employee_vaccine_info__name
#, python-format
msgid "Vaccine Name"
msgstr "اسم اللقاح"

29
employee_covid_vaccination_info/models/__init__.py

@ -0,0 +1,29 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from . import vaccine_info
from . import vaccine_centre
from . import employee_vaccination_details
from . import hr_employee

50
employee_covid_vaccination_info/models/employee_vaccination_details.py

@ -0,0 +1,50 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import models, fields, _, api
class HrEmployeeVaccinationDetails(models.Model):
_name = 'vaccination.detail'
_description = "Vaccination Details"
employee_id = fields.Many2one('hr.employee', string="Employee")
sequence = fields.Integer(string='Sequence', default=10)
vaccine_id = fields.Many2one('hr.employee.vaccine.info', string=_("Vaccine"), ondelete='restrict')
vaccination_centre_id = fields.Many2one('hr.employee.vaccine.centre', string=_("Vaccination Centre"),
ondelete='restrict')
vaccinated_by = fields.Char(string=_("Vaccinated By"))
vaccine_dose = fields.Char(string=_("Dose"))
dose_date = fields.Date(string=_("Vaccinated Date"))
vaccinated_country_id = fields.Many2one('res.country', string='Vaccinated Country')
vaccinated_state_id = fields.Many2one('res.country.state', string='Vaccinated State',
domain="[('country_id', '=?', vaccinated_country_id)]")
vaccine_company = fields.Char(string=_("Vaccine Company"))
vaccine_certificate_ids = fields.Many2many(
'ir.attachment', 'hr_employee_vaccine_certificate_rel', string='Certificates')
@api.onchange('vaccine_id')
def onchange_vaccine_id(self):
if self.vaccine_id:
self.vaccine_company = self.vaccine_id.company

42
employee_covid_vaccination_info/models/hr_employee.py

@ -0,0 +1,42 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import models, fields, api, _
class HrEmployeeInherit(models.AbstractModel):
_inherit = 'hr.employee.base'
employee_vaccination_ids = fields.One2many('vaccination.detail', 'employee_id', string=_("Vaccination Information"))
vaccine_dose_count = fields.Integer(string=_("Dose"), compute='_compute_vaccination_status')
vaccine_note = fields.Text(string='Other Details')
vaccination_status = fields.Selection(
selection=[('no', 'Not Vaccinated'), ('full', 'Fully Vaccinated')],
compute='_compute_vaccination_status', string="Vaccination Status")
@api.depends('employee_vaccination_ids.vaccine_id')
def _compute_vaccination_status(self):
for employee in self:
if len(employee.employee_vaccination_ids) == 0:
employee.vaccination_status = 'no'
else:
employee.vaccination_status = 'full'
employee.vaccine_dose_count = len(employee.employee_vaccination_ids)

35
employee_covid_vaccination_info/models/vaccine_centre.py

@ -0,0 +1,35 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import models, fields, api, _
class HrEmployeeVaccineCentre(models.Model):
_name = 'hr.employee.vaccine.centre'
_inherit = ['mail.thread', 'mail.activity.mixin']
_description = 'Vaccine Centre'
_rec_name = 'name'
name = fields.Char(string=_("Centre Name"), required=1)
contact_details = fields.Char(string=_("Contact Details"))
other_info = fields.Text(string=_("Other Details"))

38
employee_covid_vaccination_info/models/vaccine_info.py

@ -0,0 +1,38 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import models, fields, api, _
class HrEmployeeVaccineInfo(models.Model):
_name = 'hr.employee.vaccine.info'
_inherit = ['mail.thread', 'mail.activity.mixin']
_description = 'Vaccine Details'
_rec_name = 'name'
name = fields.Char(string=_("Vaccine Name"), required=1)
dose = fields.Integer(string=_("No.of Doses"), default=1, help="Number of doses required")
period = fields.Integer(string=_("Interval Between Doses"), default=30, help="Period between two doses in days")
company = fields.Char(string=_("Company"))
country_id = fields.Many2one('res.country', string='Country of Origin')
vaccine_details = fields.Html(string=_("Vaccine Details"))

10
employee_covid_vaccination_info/security/ir.model.access.csv

@ -0,0 +1,10 @@
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_hr_employee_vaccine_info_manager","hr.employee.vaccine.info.manager","model_hr_employee_vaccine_info","hr.group_hr_manager",1,1,1,1
"access_hr_employee_vaccine_info_user","hr.employee.vaccine.info.user","model_hr_employee_vaccine_info","base.group_user",1,1,0,0
"access_hr_employee_vaccine_centre_manager","hr.employee.vaccine.centre.manager","model_hr_employee_vaccine_centre","hr.group_hr_manager",1,1,1,1
"access_hr_employee_vaccine_centre_user","hr.employee.vaccine.centre.user","model_hr_employee_vaccine_centre","base.group_user",1,1,0,0
"access_vaccination_detail_manager","hr.employee.vaccination.detail.manager","model_vaccination_detail","hr.group_hr_manager",1,1,1,1
"access_vaccination_detail_user","hr.employee.vaccination.detail.user","model_vaccination_detail","base.group_user",1,1,0,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_hr_employee_vaccine_info_manager hr.employee.vaccine.info.manager model_hr_employee_vaccine_info hr.group_hr_manager 1 1 1 1
3 access_hr_employee_vaccine_info_user hr.employee.vaccine.info.user model_hr_employee_vaccine_info base.group_user 1 1 0 0
4 access_hr_employee_vaccine_centre_manager hr.employee.vaccine.centre.manager model_hr_employee_vaccine_centre hr.group_hr_manager 1 1 1 1
5 access_hr_employee_vaccine_centre_user hr.employee.vaccine.centre.user model_hr_employee_vaccine_centre base.group_user 1 1 0 0
6 access_vaccination_detail_manager hr.employee.vaccination.detail.manager model_vaccination_detail hr.group_hr_manager 1 1 1 1
7 access_vaccination_detail_user hr.employee.vaccination.detail.user model_vaccination_detail base.group_user 1 1 0 0

BIN
employee_covid_vaccination_info/static/description/assets/icons/check.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
employee_covid_vaccination_info/static/description/assets/icons/chevron.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

BIN
employee_covid_vaccination_info/static/description/assets/icons/cogs.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
employee_covid_vaccination_info/static/description/assets/icons/consultation.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
employee_covid_vaccination_info/static/description/assets/icons/ecom-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

BIN
employee_covid_vaccination_info/static/description/assets/icons/education-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

BIN
employee_covid_vaccination_info/static/description/assets/icons/hotel-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

BIN
employee_covid_vaccination_info/static/description/assets/icons/license.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
employee_covid_vaccination_info/static/description/assets/icons/lifebuoy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
employee_covid_vaccination_info/static/description/assets/icons/manufacturing-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

BIN
employee_covid_vaccination_info/static/description/assets/icons/pos-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

BIN
employee_covid_vaccination_info/static/description/assets/icons/puzzle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

BIN
employee_covid_vaccination_info/static/description/assets/icons/restaurant-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

BIN
employee_covid_vaccination_info/static/description/assets/icons/service-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

BIN
employee_covid_vaccination_info/static/description/assets/icons/trading-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

BIN
employee_covid_vaccination_info/static/description/assets/icons/training.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

BIN
employee_covid_vaccination_info/static/description/assets/icons/update.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
employee_covid_vaccination_info/static/description/assets/icons/user.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

BIN
employee_covid_vaccination_info/static/description/assets/icons/wrench.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
employee_covid_vaccination_info/static/description/assets/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
employee_covid_vaccination_info/static/description/assets/modules/approval_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

BIN
employee_covid_vaccination_info/static/description/assets/modules/gantt_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
employee_covid_vaccination_info/static/description/assets/modules/hide_menu_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
employee_covid_vaccination_info/static/description/assets/modules/laundry_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

BIN
employee_covid_vaccination_info/static/description/assets/modules/list_view_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
employee_covid_vaccination_info/static/description/assets/modules/print_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

BIN
employee_covid_vaccination_info/static/description/assets/screenshots/employee_covid_vaccine1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

BIN
employee_covid_vaccination_info/static/description/assets/screenshots/employee_covid_vaccine2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

BIN
employee_covid_vaccination_info/static/description/assets/screenshots/employee_covid_vaccine3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

BIN
employee_covid_vaccination_info/static/description/assets/screenshots/employee_covid_vaccine4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

BIN
employee_covid_vaccination_info/static/description/assets/screenshots/hero.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

BIN
employee_covid_vaccination_info/static/description/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
employee_covid_vaccination_info/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

621
employee_covid_vaccination_info/static/description/index.html

@ -0,0 +1,621 @@
<div class="container" style="padding: 1rem !important; margin-bottom: 1.5rem !important;">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between"
style="border-bottom: 1px solid #d5d5d5;">
<div class="my-3">
<img src="./assets/logo.png" style="width: auto !important; height: 40px !important;">
</div>
<div class="my-3 d-flex align-items-center">
<div
style="background-color: #7C7BAD !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;">
<i class="fa fa-check mr-1"></i>Community
</div>
<div
style="background-color: #875A7B !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;">
<i class="fa fa-check mr-1"></i>Enterprise
</div>
</div>
</div>
</div>
</div>
<div class="container" style="padding: 4rem 1.5rem !important">
<div class="row" style="height: 900px !important;">
<div class="col-sm-12 col-md-12 col-lg-12"
style="padding: 4rem 1rem !important; background-color: #714B67 !important; height: 600px !important; border-radius: 20px !important;">
<h1
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #FFFFFF !important; font-size: 3.5rem !important; text-align: center !important;">
Employee Covid Vaccination Details</h1>
<p
style="font-family: 'Montserrat', sans-serif !important; font-weight: 300 !important; color: #FFFFFF !important; font-size: 1.4rem !important; text-align: center !important;">
Update Employee Covid Vaccine, Dosage and Certificate Details
</p>
<img src="./assets/screenshots/hero.png" class="img-responsive" width="100%" height="auto"/>
</div>
</div>
<div class="row">
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin-bottom: 2rem !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-compass mr-2"></i>Explore this module
</h2>
</div>
<div class="col-md-6">
<a href="#overview" style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Overview</h3>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
Learn more about this module</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i>
</div>
</div>
</a>
</div>
<div class="col-md-6">
<a href="#configuration" style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Configuration</h3>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
View configurations for this module</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i>
</div>
</div>
</a>
</div>
<div class="col-md-6">
<a href="#features" style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Features</h3>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
View features of this module</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i>
</div>
</div>
</a>
</div>
<div class="col-md-6">
<a href="#screenshots" style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Screenshots</h3>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
See key screenshots of this module</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i>
</div>
</div>
</a>
</div>
</div>
<div class="row" id="overview">
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-pie-chart mr-2"></i>Overview
</h2>
</div>
<div class="col-mg-12 pl-3">
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important; line-height: 30px !important;">
Feature to update Employee Covid Vaccine, Dosage, Vaccination centre and Certificate details.
Also vaccination and dosage details will be shown in Smart Button</p>
</div>
</div>
<div class="row" id="configuration">
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-pie-chart mr-2"></i>Configuration
</h2>
</div>
<div class="col-mg-12 pl-3">
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important; line-height: 30px !important;">
No additional configuration required</p>
</div>
</div>
<div class="row" id="features">
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-star mr-2"></i>Features
</h2>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Employee Vaccination Details</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Vaccine Details</p>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Vaccination Centre Details</p>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Vaccination Certificate Details</p>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Details in Smart Button</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Vaccination and Dosage details in Smart Button</p>
</div>
</div>
</div>
<div class="row" id="screenshots">
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-image mr-2"></i>Screenshots
</h2>
</div>
<div class="col-lg-12 my-2">
<h4 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Vaccination Details in Employee Form View</h4>
<img src="assets/screenshots/employee_covid_vaccine1.png" class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
<div class="col-lg-12 my-2">
<h4 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Smart Button View - Vaccinated</h4>
<img src="assets/screenshots/employee_covid_vaccine2.png" class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
<div class="col-lg-12 my-2">
<h4 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Smart Button View - Not Vaccinated</h4>
<img src="assets/screenshots/employee_covid_vaccine3.png" class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
<div class="col-lg-12 my-2">
<h4 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Vaccine Details Form View</h4>
<img src="assets/screenshots/employee_covid_vaccine4.png" class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
</div>
<!-- SUGGESTED PRODUCTS -->
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center"
style="text-align: center; padding: 2.5rem 1rem !important;">
<h2 style="color: #212529 !important;">Suggested Products</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;"/>
<div id="demo1" class="row carousel slide" data-ride="carousel">
<!-- The slideshow -->
<div class="carousel-inner">
<div class="carousel-item active" style="min-height:0px">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/14.0/custom_gantt_view/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/gantt_image.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/14.0/hide_menu_user/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/hide_menu_image.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/14.0/product_approval_management/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/approval_image.png">
</div>
</a>
</div>
</div>
<div class="carousel-item" style="min-height:0px">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/14.0/mrp_work_order_print/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/print_image.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/14.0/list_view_sticky_header/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/list_view_image.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/14.0/laundry_management/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/laundry_image.png">
</div>
</a>
</div>
</div>
</div>
<!-- Left and right controls -->
<a class="carousel-control-prev" href="#demo1" data-slide="prev"
style="left:-25px;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="#demo1" data-slide="next"
style="right:-25px;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>
</div>
<!-- END OF SUGGESTED PRODUCTS -->
<!-- OUR SERVICES -->
<section class="container" style="margin-top: 6rem !important;">
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Our Services</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;"/>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/cogs.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Customization</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/wrench.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Implementation</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/lifebuoy.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Support</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/user.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Hire
Odoo
Developer</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/puzzle.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Integration</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/update.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Migration</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/consultation.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Consultancy</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/training.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Implementation</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/license.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Licensing Consultancy</h6>
</div>
</div>
</section>
<!-- END OF END OF OUR SERVICES -->
<!-- OUR INDUSTRIES -->
<section class="container" style="margin-top: 6rem !important;">
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Our Industries</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;"/>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/trading-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Trading
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Easily procure
and
sell your products</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/pos-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
POS
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Easy
configuration
and convivial experience</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/education-black.png" class="img-responsive mb-3" height="48px"
width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Education
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
A platform for
educational management</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/manufacturing-black.png" class="img-responsive mb-3" height="48px"
width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Manufacturing
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Plan, track and
schedule your operations</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/ecom-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
E-commerce &amp; Website
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Mobile
friendly,
awe-inspiring product pages</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/service-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Service Management
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Keep track of
services and invoice</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/restaurant-black.png" class="img-responsive mb-3" height="48px"
width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Restaurant
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Run your bar or
restaurant methodically</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/hotel-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Hotel Management
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
An
all-inclusive
hotel management application</p>
</div>
</div>
</div>
</section>
<!-- END OF END OF OUR INDUSTRIES -->
<!-- FOOTER -->
<!-- Footer Section -->
<section class="container" style="margin: 5rem auto 2rem;">
<div class="row" style="max-width:1540px;">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Need Help?</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;"/>
</div>
</div>
<!-- Contact Cards -->
<div class="row d-flex justify-content-center align-items-center"
style="max-width:1540px; margin: 0 auto 2rem auto;">
<div class="col-lg-12" style="padding: 0rem 3rem 2rem; border-radius: 10px; margin-right: 3rem; ">
<div class="row mt-4">
<div class="col-lg-6">
<a href="mailto:odoo@cybrosys.com" target="_blank" class="btn btn-block mb-2 deep_hover"
style="text-decoration: none; background-color: #4d4d4d; color: #FFF; border-radius: 4px;"><i
class="fa fa-envelope mr-2"></i>odoo@cybrosys.com</a>
</div>
<div class="col-lg-6">
<a href="https://api.WhatsApp.com/send?phone=918606827707" target="_blank"
class="btn btn-block mb-2 deep_hover"
style="text-decoration: none; background-color: #25D366; color: #FFF; border-radius: 4px;"><i
class="fa fa-WhatsApp mr-2"></i>WhatsApp</a>
</div>
</div>
</div>
</div>
<!-- End of Contact Cards -->
</section>
<!-- Footer -->
<section class="oe_container" style="padding: 2rem 3rem 1rem;">
<div class="row" style="max-width:1540px; margin: 0 auto; margin-right: 3rem; ">
<!-- Logo -->
<div class="col-lg-12 d-flex justify-content-center align-items-center" style="margin-top: 3rem;">
<img src="https://www.cybrosys.com/images/logo.png" width="200px" height="auto"/>
</div>
<!-- End of Logo -->
<div class="col-lg-12">
<hr
style="margin-top: 3rem;background: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgba(229,229,229,1) 33%, rgba(229,229,229,1) 58%, rgba(0,212,255,0) 100%); height: 2px; border-style: none;">
<!-- End of Footer Section -->
</div>
</div>
</section>
<!-- END OF FOOTER -->
</div>

93
employee_covid_vaccination_info/views/hr_employee.xml

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_employee_form_vaccine_details" model="ir.ui.view">
<field name="name">hr.employee.vaccination.details</field>
<field name="model">hr.employee</field>
<field name="inherit_id" ref="hr.view_employee_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@name='button_box']" position="inside">
<field name="vaccination_status" invisible="1"/>
<button id="hr_presence_button" class="oe_stat_button" style="width: 153px;"
groups="base.group_user">
<div role="img" class="fa fa-heartbeat text-success o_button_icon"
attrs="{'invisible': [('vaccination_status', '!=', 'full')]}" aria-label="Fully Vaccinated"
title="Fully Vaccinated"/>
<div role="img" class="fa fa fa-heartbeat text-warning o_button_icon"
attrs="{'invisible': [('vaccination_status', '!=', 'partial')]}"
aria-label="Partially Vaccinated"
title="Partially Vaccinated"/>
<div role="img" class="fa fa fa-heartbeat text-danger o_button_icon"
attrs="{'invisible': [('vaccination_status', '!=', 'no')]}" aria-label="Not Vaccinated"
title="Not Vaccinated"/>
<div class="o_stat_info">
<span class="o_stat_value" attrs="{'invisible': [('vaccination_status', '!=', 'full')]}">
<b>Vaccinated</b>
</span>
<span class="o_stat_value" attrs="{'invisible': [('vaccination_status', '!=', 'partial')]}">
<b>Partially</b>
</span>
<span class="o_stat_value" attrs="{'invisible': [('vaccination_status', '!=', 'no')]}">
<b>Not Vaccinated</b>
</span>
<span class="o_stat_value">
Doses :
<field name="vaccine_dose_count"/>
</span>
</div>
</button>
</xpath>
<xpath expr="//page[@name='hr_settings']" position="after">
<page name="vaccination_details" string="Vaccination Details" groups="hr.group_hr_manager">
<field name="employee_vaccination_ids" mode="tree,kanban">
<tree string="Vaccination Details">
<control>
<create name="add_product_control" string="Add Vaccination"/>
</control>
<field name="sequence" widget="handle"/>
<field name="vaccine_id" required="1"/>
<field name="vaccine_dose" required="1"/>
<field name="dose_date" required="1" string="Date"/>
<field name="vaccinated_by"/>
<field name="vaccination_centre_id"/>
<field name="vaccinated_country_id"/>
<field name="vaccinated_state_id"/>
<field name="employee_id" invisible="1"/>
</tree>
<form>
<group name="vaccine_info" string="Vaccination Details">
<group>
<field name="vaccine_id" required="1"/>
<field name="dose_date" required="1"/>
<field name="vaccine_dose" required="1"/>
<field name="vaccinated_by"/>
<field name="vaccination_centre_id"/>
</group>
<group>
<field name="vaccinated_country_id"/>
<field name="vaccinated_state_id"/>
<field name="vaccine_company"/>
<field name="employee_id" invisible="1"/>
</group>
</group>
<group name="vaccine_certificate_info" string="Vaccine Certificates">
<field name="vaccine_certificate_ids" widget="many2many_binary" string="Add Certificate"
nolabel="1"
colspan="2"/>
</group>
</form>
</field>
<group name="note_group" col="6" class="mt-2 mt-md-0">
<group colspan="4">
<field name="vaccine_note" nolabel="1" placeholder="Other Details"/>
</group>
</group>
</page>
</xpath>
</field>
</record>
</odoo>

63
employee_covid_vaccination_info/views/vaccine_centre.xml

@ -0,0 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="hr_employee_vaccine_centre_tree_view" model="ir.ui.view">
<field name="name">hr.employee.vaccine.centre.tree.view</field>
<field name="model">hr.employee.vaccine.centre</field>
<field name="arch" type="xml">
<tree>
<field name="name"/>
<field name="contact_details"/>
</tree>
</field>
</record>
<record model="ir.ui.view" id="hr_employee_vaccine_centre_form_view">
<field name="name">hr.employee.vaccine.centre.form.view</field>
<field name="model">hr.employee.vaccine.centre</field>
<field name="arch" type="xml">
<form string="Vaccine Centre">
<sheet>
<div class="oe_title">
<h1>
<field name="name" placeholder="Centre Name"/>
</h1>
</div>
<group>
<group>
<field name="contact_details"/>
<field name="other_info"/>
</group>
</group>
</sheet>
<div class="oe_chatter">
<field name="activity_ids"/>
<field name="message_follower_ids"/>
<field name="message_ids"/>
</div>
</form>
</field>
</record>
<record id="action_hhr_employee_vaccine_centre" model="ir.actions.act_window">
<field name="name">Vaccination Centres</field>
<field name="res_model">hr.employee.vaccine.centre</field>
<field name="view_mode">tree,form,search</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Create a Vaccination Centre
</p>
</field>
</record>
<menuitem id="menu_hr_employee_vaccine_centre"
action="employee_covid_vaccination_info.action_hhr_employee_vaccine_centre"
parent="employee_covid_vaccination_info.menu_hr_employee_vaccine_config"
name="Vaccination Centre"
groups="hr.group_hr_manager"
sequence="2"/>
</data>
</odoo>

82
employee_covid_vaccination_info/views/vaccine_info.xml

@ -0,0 +1,82 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="hr_employee_vaccine_tree_view" model="ir.ui.view">
<field name="name">hr.employee.vaccine.info.tree.view</field>
<field name="model">hr.employee.vaccine.info</field>
<field name="arch" type="xml">
<tree>
<field name="name"/>
<field name="dose"/>
<field name="period"/>
<field name="company"/>
</tree>
</field>
</record>
<record model="ir.ui.view" id="hr_employee_vaccine_form_view">
<field name="name">hr.employee.vaccine.info.form.view</field>
<field name="model">hr.employee.vaccine.info</field>
<field name="arch" type="xml">
<form string="Vaccine Details">
<sheet>
<div class="oe_title">
<h1>
<field name="name" placeholder="Name"/>
</h1>
</div>
<group>
<group>
<field name="dose" required="1"/>
<label for="period"/>
<div>
<field name="period" class="oe_inline" nolable="1"/>
<span class="ml8">Days</span>
</div>
<field name="company"/>
<field name="country_id"/>
</group>
</group>
<notebook>
<page name="info" string="Details">
<field name="vaccine_details"/>
</page>
</notebook>
</sheet>
<div class="oe_chatter">
<field name="activity_ids"/>
<field name="message_follower_ids"/>
<field name="message_ids"/>
</div>
</form>
</field>
</record>
<record id="action_hr_employee_vaccine_info" model="ir.actions.act_window">
<field name="name">Vaccine Details</field>
<field name="res_model">hr.employee.vaccine.info</field>
<field name="view_mode">tree,form,search</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Create a Vaccine
</p>
</field>
</record>
<menuitem id="menu_hr_employee_vaccine_config"
parent="hr.menu_human_resources_configuration"
name="Vaccination Details"
groups="hr.group_hr_manager"
sequence="50"/>
<menuitem id="menu_hr_employee_vaccine_info"
action="employee_covid_vaccination_info.action_hr_employee_vaccine_info"
parent="employee_covid_vaccination_info.menu_hr_employee_vaccine_config"
name="Vaccine"
groups="hr.group_hr_manager"
sequence="1"/>
</data>
</odoo>
Loading…
Cancel
Save