Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[18.0][MIG] hr_study: Migration to 18.0 #1417

Open
wants to merge 9 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 110 additions & 0 deletions hr_study/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
=====================
Employees study field
=====================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:2ec59f665708497a59d57a30a04d8769eef4fbe795c159bfba4e94e5108f6a0f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fhr-lightgray.png?logo=github
:target: https://github.com/OCA/hr/tree/18.0/hr_study
:alt: OCA/hr
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/hr-18-0/hr-18-0-hr_study
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/hr&target_branch=18.0
:alt: Try me on Runboat

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

This module allows your to define employee studies in a structured way.
Previously, the standard only allows to define a free text for this
field, getting no homogenized values.

**Table of contents**

.. contents::
:local:

Configuration
=============

You can define the studies from Employees > Configuration > Studies

Usage
=====

Go to an employee's file, and in the "Education" block ("Private
information" tab) you can set a study.

Known issues / Roadmap
======================

- Auto-include a "Other" record, that shows and allows to set the free
text.
- Link studies with a certification level value.

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

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

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

Credits
=======

Authors
-------

* Tecnativa

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

- `Tecnativa <https://www.tecnativa.com>`__

- Pedro M. Baeza
- Víctor Martínez
- Juan José Seguí

- ``Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>``\ \_

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

This module is maintained by the OCA.

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

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

.. |maintainer-victoralmau| image:: https://github.com/victoralmau.png?size=40px
:target: https://github.com/victoralmau
:alt: victoralmau

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-victoralmau|

This module is part of the `OCA/hr <https://github.com/OCA/hr/tree/18.0/hr_study>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions hr_study/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
21 changes: 21 additions & 0 deletions hr_study/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2023 Tecnativa - Víctor Martínez
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Employees study field",
"summary": "Structured study field for employees",
"version": "18.0.1.0.0",
"category": "Human Resources",
"website": "https://github.com/OCA/hr",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"depends": ["hr"],
"data": [
"security/ir.model.access.csv",
"security/security.xml",
"views/hr_employee_view.xml",
"views/hr_study_views.xml",
],
"demo": ["demo/hr_study.xml"],
"installable": True,
"maintainers": ["victoralmau"],
}
11 changes: 11 additions & 0 deletions hr_study/demo/hr_study.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="hr_study_a" model="hr.study">
<field name="name">Study A</field>
<field name="sequence">10</field>
</record>
<record id="hr_study_b" model="hr.study">
<field name="name">Study B</field>
<field name="sequence">20</field>
</record>
</odoo>
85 changes: 85 additions & 0 deletions hr_study/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_study
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-07 16:18+0000\n"
"PO-Revision-Date: 2023-03-07 17:20+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: \n"
"X-Generator: Poedit 3.0.1\n"

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__company_id
msgid "Company"
msgstr "Compañía"

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__create_date
msgid "Created on"
msgstr "Creado en"

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__display_name
msgid "Display Name"
msgstr "Nombre a mostrar"

#. module: hr_study
#: model:ir.model,name:hr_study.model_hr_employee
msgid "Employee"
msgstr "Empleado"

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__id
msgid "ID"
msgstr "ID"

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study____last_update
msgid "Last Modified on"
msgstr "Última modificación el"

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__write_uid
msgid "Last Updated by"
msgstr "Última actualización de"

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__write_date
msgid "Last Updated on"
msgstr "Actualizado el"

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__name
msgid "Name"
msgstr "Nombre"

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__sequence
msgid "Sequence"
msgstr "Secuencia"

#. module: hr_study
#: model:ir.actions.act_window,name:hr_study.action_hr_study
#: model:ir.ui.menu,name:hr_study.menu_hr_study
msgid "Studies"
msgstr "Estudios"

#. module: hr_study
#: model:ir.model,name:hr_study.model_hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_employee__study_id
msgid "Study"
msgstr "Estudio"
76 changes: 76 additions & 0 deletions hr_study/i18n/hr_study.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_study
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \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: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__company_id
msgid "Company"
msgstr ""

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__create_uid
msgid "Created by"
msgstr ""

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__create_date
msgid "Created on"
msgstr ""

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__display_name
msgid "Display Name"
msgstr ""

#. module: hr_study
#: model:ir.model,name:hr_study.model_hr_employee
msgid "Employee"
msgstr ""

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__id
msgid "ID"
msgstr ""

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__write_uid
msgid "Last Updated by"
msgstr ""

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__write_date
msgid "Last Updated on"
msgstr ""

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__name
msgid "Name"
msgstr ""

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__sequence
msgid "Sequence"
msgstr ""

#. module: hr_study
#: model:ir.actions.act_window,name:hr_study.action_hr_study
#: model:ir.ui.menu,name:hr_study.menu_hr_study
msgid "Studies"
msgstr ""

#. module: hr_study
#: model:ir.model,name:hr_study.model_hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_employee__study_id
msgid "Study"
msgstr ""
84 changes: 84 additions & 0 deletions hr_study/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_study
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-05-18 20:32+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.16.4\n"

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__company_id
msgid "Company"
msgstr "Azienda"

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__create_uid
msgid "Created by"
msgstr "Creato da"

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__create_date
msgid "Created on"
msgstr "Creato il"

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__display_name
msgid "Display Name"
msgstr "Nome visualizzato"

#. module: hr_study
#: model:ir.model,name:hr_study.model_hr_employee
msgid "Employee"
msgstr "Dipendente"

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__id
msgid "ID"
msgstr "ID"

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study____last_update
msgid "Last Modified on"
msgstr "Ultima modifica il"

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__write_uid
msgid "Last Updated by"
msgstr "Ultimo aggiornamento di"

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__write_date
msgid "Last Updated on"
msgstr "Ultimo aggiornamento il"

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__name
msgid "Name"
msgstr "Nome"

#. module: hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_study__sequence
msgid "Sequence"
msgstr "Sequenza"

#. module: hr_study
#: model:ir.actions.act_window,name:hr_study.action_hr_study
#: model:ir.ui.menu,name:hr_study.menu_hr_study
msgid "Studies"
msgstr "Formazione"

#. module: hr_study
#: model:ir.model,name:hr_study.model_hr_study
#: model:ir.model.fields,field_description:hr_study.field_hr_employee__study_id
msgid "Study"
msgstr "Formazione"
2 changes: 2 additions & 0 deletions hr_study/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import hr_employee
from . import hr_study
Loading
Loading