-
-
Notifications
You must be signed in to change notification settings - Fork 672
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by moylop260
- Loading branch information
Showing
35 changed files
with
2,251 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "إسم العائلة" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "" |
Oops, something went wrong.