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_employee_firstname: Migration to 18.0 #1397

Merged
merged 42 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
39faa49
[ADD] hr_employee_firstname
feketemihai Apr 24, 2015
4e55fbd
Remove field name related, change init script, add unittests
May 3, 2015
5646b75
[FIX+IMP] hr_employee_firstname: Several things:
adrienpeiffer Aug 13, 2015
a3421ed
[IMP][hr_employee_firstname] Avoid to update partners without reason
adrienpeiffer Sep 4, 2015
bd7fbc1
[FIX] Update tests in hr_employee_firstname - failing travis
Nov 10, 2015
f83df0d
[REF] hr_employee_firstname: Split names at module install to get the…
feketemihai May 11, 2016
b2e60ec
[MIG] hr_employee_firstname: Migrated to 10.0 (#276)
espo-tony Jan 24, 2017
257469a
[MIG] hr_employee_firstname: Migration to version 11.0
Nov 14, 2017
892ec93
[FIX] employee_firstname: test (#427)
feketemihai Mar 7, 2018
e542fe9
[11.0][FIX] Fix dangerous use of 'replace' from hr.employee view.
ddufresne Apr 9, 2018
fdcc0e9
[12.0][MIG] hr_employee_firstname
astirpe Mar 28, 2019
b08e054
[FIX/IMP] Make required attributes dynamic
astirpe Apr 8, 2019
a37d32b
[13.0][MIG] hr_employee_firstname
astirpe Dec 6, 2019
6080f1b
pre-commit
astirpe Dec 6, 2019
e5b43ba
pre-commit update
OCA-git-bot Mar 14, 2020
a70ba24
[13.0][FIX] hr_employee_firstname : testscript
Saran440 Mar 26, 2020
f070a6f
[IMP] hr_employee_firstname: ease extension
astirpe Aug 27, 2020
20f6385
hr_employee_firstname 13.0.1.0.1
OCA-git-bot Sep 1, 2020
4bcfc4f
[MIG] hr_employee_firstname: Migration to 14.0
luistorresm Oct 12, 2020
aba958f
[REF] hr_employee_firstname: Removed partner_firstname dependency
Oct 28, 2020
eaca361
[IMP] update dotfiles [ci skip]
OCA-git-bot Nov 1, 2020
b2f54d2
hr_employee_firstname 14.0.2.0.0
OCA-git-bot Nov 2, 2020
28f555e
[FIX] hr_employee_firstname: Avoid access error on employee update
luistorresm Feb 16, 2021
67b9411
hr_employee_firstname 14.0.2.0.1
OCA-git-bot Feb 17, 2021
7f099e8
[FIX] hr_employee_firstname: Move fields to common employee
hugho-ad Jun 12, 2021
c5cceec
hr_employee_firstname 14.0.3.0.0
OCA-git-bot Jun 12, 2021
dd32419
[MIG] hr_employee_firstname: Migration to 15.0
luistorresm Oct 18, 2021
139ea4a
[MIG] hr_employee_firstname: Migration to 16.0
luistorresm Nov 5, 2022
6186d56
[UPD] README.rst
OCA-git-bot Nov 5, 2022
a453dd1
[FIX] hr_employee_firstname: Improved create on employee
luistorresm Nov 7, 2022
7e70006
[16.0][FIX] test refresh->invalidate_recordset
FernandoRomera Dec 21, 2022
426ef60
hr_employee_firstname 16.0.1.0.1
OCA-git-bot Dec 21, 2022
5ca3a01
[UPD] README.rst
OCA-git-bot Sep 3, 2023
9f766dd
[IMP] hr_employee_firstname: rename hooks file
andreagidaltig Nov 6, 2023
3102e50
[BOT] post-merge updates
OCA-git-bot Nov 8, 2023
06dfa95
[IMP] hr_employee_firstname: pre-commit stuff
andreagidaltig Nov 16, 2023
1d311d1
[MIG] hr_employee_firstname: Migration to 17.0
andreagidaltig Nov 14, 2023
ef66013
[BOT] post-merge updates
OCA-git-bot Nov 16, 2023
a6a9d5a
[FIX] hr_employee_firstname: fix DeprecationWarning
edy1192 Oct 30, 2024
c5b7bd7
[BOT] post-merge updates
OCA-git-bot Oct 30, 2024
a4b8da6
[IMP] hr_employee_firstname: pre-commit auto fixes
edy1192 Oct 30, 2024
7576692
[MIG] hr_employee_firstname: Migration to 18.0
edy1192 Oct 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 102 additions & 0 deletions hr_employee_firstname/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
=================================
HR Employee First Name, Last Name
=================================

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

.. |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_employee_firstname
: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_employee_firstname
: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 you to add firstname and lastname in employee form,
and concatenate both in name field.

**Table of contents**

.. contents::
:local:

Usage
=====

On the employee form view you will have 2 separate fields, one for
Firstname, second for Lastname. At least one of them is required.

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_employee_firstname%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
-------

* Savoir-faire Linux
* Fekete Mihai (Forest and Biomass Services Romania)
* Onestein

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

- El Hadji Dem <[email protected]>
- Sandy Carter <[email protected]>
- Fekete Mihai <[email protected]>
- David Dufresne <[email protected]>
- Adrien Peiffer (ACSONE) <[email protected]>
- Antonio Esposito (ONESTEIN BV) <[email protected]>
- Andrea Stirpe <[email protected]>

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-Savoir-faire Linux| image:: https://github.com/Savoir-faire Linux.png?size=40px
:target: https://github.com/Savoir-faire Linux
:alt: Savoir-faire Linux
.. |maintainer-luisg123v| image:: https://github.com/luisg123v.png?size=40px
:target: https://github.com/luisg123v
:alt: luisg123v

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

|maintainer-Savoir-faire Linux| |maintainer-luisg123v|

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions hr_employee_firstname/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
from .hooks import post_init_hook
20 changes: 20 additions & 0 deletions hr_employee_firstname/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2010-2014 Savoir-faire Linux (<http://www.savoirfairelinux.com>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "HR Employee First Name, Last Name",
"version": "18.0.1.0.0",
"author": "Savoir-faire Linux, "
"Fekete Mihai (Forest and Biomass Services Romania), "
"Onestein, "
"Odoo Community Association (OCA)",
"maintainers": ["Savoir-faire Linux", "luisg123v"],
"website": "https://github.com/OCA/hr",
"license": "AGPL-3",
"category": "Human Resources",
"summary": "Adds First Name to Employee",
"depends": ["hr"],
"data": ["views/hr_view.xml", "views/base_config_view.xml"],
"post_init_hook": "post_init_hook",
"installable": True,
}
6 changes: 6 additions & 0 deletions hr_employee_firstname/hooks.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright 2016-2019 Onestein (<http://www.onestein.eu>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).


def post_init_hook(env):
env["hr.employee"]._install_employee_firstname()
74 changes: 74 additions & 0 deletions hr_employee_firstname/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_employee_firstname
#
# Translators:
# OCA Transbot <[email protected]>, 2017
# abdullah alsabi <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-10 04:30+0000\n"
"PO-Revision-Date: 2017-06-10 04:30+0000\n"
"Last-Translator: abdullah alsabi <[email protected]>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: hr_employee_firstname
#: model:ir.model,name:hr_employee_firstname.model_hr_employee_base
msgid "Basic Employee"
msgstr ""

#. module: hr_employee_firstname
#: model:ir.model,name:hr_employee_firstname.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: hr_employee_firstname
#: model:ir.model,name:hr_employee_firstname.model_hr_employee
msgid "Employee"
msgstr "الموظف"

#. module: hr_employee_firstname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_res_config_settings__employee_names_order
#: model_terms:ir.ui.view,arch_db:hr_employee_firstname.res_config_settings_view_form
msgid "Employee Names Order"
msgstr ""

#. module: hr_employee_firstname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_hr_employee__firstname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_hr_employee_base__firstname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_hr_employee_public__firstname
msgid "First name"
msgstr ""

#. module: hr_employee_firstname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_hr_employee__lastname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_hr_employee_base__lastname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_hr_employee_public__lastname
msgid "Last name"
msgstr ""

#. module: hr_employee_firstname
#. odoo-python
#: code:addons/hr_employee_firstname/models/hr_employee.py:0
#, python-format
msgid "No name set."
msgstr ""

#. module: hr_employee_firstname
#: model:ir.model.fields,help:hr_employee_firstname.field_res_config_settings__employee_names_order
msgid "Order to compose employee fullname"
msgstr ""

#~ msgid "Firstname"
#~ msgstr "الإسم الأول"

#~ msgid "Lastname"
#~ msgstr "إسم العائلة"
67 changes: 67 additions & 0 deletions hr_employee_firstname/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_employee_firstname
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-05-11 13:47+0000\n"
"Last-Translator: Haftec <[email protected]>\n"
"Language-Team: none\n"
"Language: ca\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.3.2\n"

#. module: hr_employee_firstname
#: model:ir.model,name:hr_employee_firstname.model_hr_employee_base
msgid "Basic Employee"
msgstr ""

#. module: hr_employee_firstname
#: model:ir.model,name:hr_employee_firstname.model_res_config_settings
msgid "Config Settings"
msgstr ""

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

#. module: hr_employee_firstname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_res_config_settings__employee_names_order
#: model_terms:ir.ui.view,arch_db:hr_employee_firstname.res_config_settings_view_form
msgid "Employee Names Order"
msgstr "Ordre dels noms d'empleats"

#. module: hr_employee_firstname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_hr_employee__firstname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_hr_employee_base__firstname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_hr_employee_public__firstname
msgid "First name"
msgstr "Nom"

#. module: hr_employee_firstname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_hr_employee__lastname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_hr_employee_base__lastname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_hr_employee_public__lastname
msgid "Last name"
msgstr "Cognoms"

#. module: hr_employee_firstname
#. odoo-python
#: code:addons/hr_employee_firstname/models/hr_employee.py:0
#, python-format
msgid "No name set."
msgstr "No s'ha definit cap nom."

#. module: hr_employee_firstname
#: model:ir.model.fields,help:hr_employee_firstname.field_res_config_settings__employee_names_order
msgid "Order to compose employee fullname"
msgstr ""

#~ msgid "Last Modified on"
#~ msgstr "Darrera modificació el"
68 changes: 68 additions & 0 deletions hr_employee_firstname/i18n/cs_CZ.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_employee_firstname
#
# Translators:
# OCA Transbot <[email protected]>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-07 02:58+0000\n"
"PO-Revision-Date: 2018-06-07 02:58+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2018\n"
"Language-Team: Czech (Czech Republic) (https://www.transifex.com/oca/"
"teams/23907/cs_CZ/)\n"
"Language: cs_CZ\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n "
"<= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"

#. module: hr_employee_firstname
#: model:ir.model,name:hr_employee_firstname.model_hr_employee_base
msgid "Basic Employee"
msgstr ""

#. module: hr_employee_firstname
#: model:ir.model,name:hr_employee_firstname.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: hr_employee_firstname
#: model:ir.model,name:hr_employee_firstname.model_hr_employee
msgid "Employee"
msgstr "Zaměstnanec"

#. module: hr_employee_firstname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_res_config_settings__employee_names_order
#: model_terms:ir.ui.view,arch_db:hr_employee_firstname.res_config_settings_view_form
msgid "Employee Names Order"
msgstr ""

#. module: hr_employee_firstname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_hr_employee__firstname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_hr_employee_base__firstname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_hr_employee_public__firstname
msgid "First name"
msgstr ""

#. module: hr_employee_firstname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_hr_employee__lastname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_hr_employee_base__lastname
#: model:ir.model.fields,field_description:hr_employee_firstname.field_hr_employee_public__lastname
msgid "Last name"
msgstr ""

#. module: hr_employee_firstname
#. odoo-python
#: code:addons/hr_employee_firstname/models/hr_employee.py:0
#, python-format
msgid "No name set."
msgstr ""

#. module: hr_employee_firstname
#: model:ir.model.fields,help:hr_employee_firstname.field_res_config_settings__employee_names_order
msgid "Order to compose employee fullname"
msgstr ""
Loading
Loading