Skip to content
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
86 changes: 86 additions & 0 deletions hr_employee_code/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
=============
Employee Code
=============

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

.. |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/17.0/hr_employee_code
:alt: OCA/hr
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/hr-17-0/hr-17-0-hr_employee_code
: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=17.0
:alt: Try me on Runboat

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

This module adds a employee code field

**Table of contents**

.. contents::
:local:

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_code%0Aversion:%2017.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
-------

* APSL-Nagarro

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

- `APSL-Nagarro <https://www.apsl.tech>`__:

- Paloma González-Ripoll Cano <paloma.gonzalez@nagarro.net>

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-palomagrc93| image:: https://github.com/palomagrc93.png?size=40px
:target: https://github.com/palomagrc93
:alt: palomagrc93

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

|maintainer-palomagrc93|

This module is part of the `OCA/hr <https://github.com/OCA/hr/tree/17.0/hr_employee_code>`_ 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_employee_code/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
17 changes: 17 additions & 0 deletions hr_employee_code/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2026 APSL-Nagarro, Paloma González-Ripoll Cano
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Employee Code",
"summary": "Adds an employee code field",
"version": "17.0.1.0.0",
"category": "Human Resources",
"website": "https://github.com/OCA/hr",
"author": "APSL-Nagarro, Odoo Community Association (OCA)",
"maintainers": ["palomagrc93"],
"license": "AGPL-3",
"installable": True,
"depends": ["hr"],
"data": [
"views/hr_employee_views.xml",
],
}
27 changes: 27 additions & 0 deletions hr_employee_code/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * apsl_deixalles_employee_code
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-03-30 05:28+0000\n"
"PO-Revision-Date: 2026-03-30 05:28+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: apsl_deixalles_employee_code
#: model:ir.model,name:apsl_deixalles_employee_code.model_hr_employee
msgid "Employee"
msgstr "Empleado"

#. module: apsl_deixalles_employee_code
#: model:ir.model.fields,field_description:apsl_deixalles_employee_code.field_hr_employee__employee_code
#: model_terms:ir.ui.view,arch_db:apsl_deixalles_employee_code.hr_employee_view_search
msgid "Employee Code"
msgstr "Código Empleado"
1 change: 1 addition & 0 deletions hr_employee_code/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import hr_employee
9 changes: 9 additions & 0 deletions hr_employee_code/models/hr_employee.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2026 APSL-Nagarro, Paloma González-Ripoll Cano
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo import fields, models


class HrEmployee(models.Model):
_inherit = "hr.employee"

employee_code = fields.Char(string="Employee Code", copy=False)
3 changes: 3 additions & 0 deletions hr_employee_code/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
2 changes: 2 additions & 0 deletions hr_employee_code/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- [APSL-Nagarro](https://www.apsl.tech):
- Paloma González-Ripoll Cano \<<paloma.gonzalez@nagarro.net>\>
1 change: 1 addition & 0 deletions hr_employee_code/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module adds a employee code field
Binary file added hr_employee_code/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading