Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
37c68c8
Employee and Contract Management, Attendance and Scheduling, Payroll …
miketelahun Aug 12, 2013
256442f
PEP8
Sep 23, 2013
f9effe0
Initialize 8.0 branch
dreispt Sep 16, 2014
2c5d5b3
Port hr_contract_reference to V8 and new api.
feketemihai Apr 21, 2015
dc517f1
Add readme.
feketemihai Apr 21, 2015
32ffd66
Update readme.
feketemihai Apr 21, 2015
7f084b6
Update code as commented, update readme.
feketemihai Apr 21, 2015
b9940dd
Fix travis errors.
feketemihai Apr 21, 2015
b0372c8
Update readme.
feketemihai Apr 21, 2015
07862ec
Update authors, license definition.
feketemihai Apr 21, 2015
0b0303a
Fix typo.
feketemihai Apr 22, 2015
e210f3b
Add missing default oca icons
yvaucher Aug 18, 2015
622637d
OCA Transbot updated translations from Transifex
oca-transbot Sep 1, 2015
53ad302
prefix versions with 8.0
sbidoul Oct 9, 2015
4771aa2
Make modules uninstallable
pedrobaeza Jul 5, 2016
485aa68
Rename manifest files
pedrobaeza Oct 6, 2016
e50a1f9
hr_contract_reference: Migrated to 10.0
leemannd Feb 22, 2017
a92b21d
Update hr_contract_reference.pot
oca-travis Jun 20, 2018
e973a31
hr_contract_reference:Migration to 11.0.
Trivedi-Vacha-SerpentCS Jul 3, 2018
4d539d1
Update hr_contract_reference.pot
oca-travis Oct 11, 2018
6b49c60
Translated using Weblate (German)
marylla Dec 17, 2018
5a2a134
[MIG] hr_contract_reference v11 to v12
Nikul-Chaudhary Jan 20, 2019
f116b1e
[UPD] Update hr_contract_reference.pot
oca-travis Oct 8, 2020
1fc756f
[UPD] README.rst
OCA-git-bot Oct 8, 2020
cf6c75f
Update translation files
oca-transbot Oct 12, 2020
1968e95
[IMP] hr_contract_reference: black, isort, prettier
Oct 13, 2020
9136b3a
[13.0][MIG] hr_contract_reference
Oct 13, 2020
03b9424
[IMP] hr_contract_reference: black, isort, prettier
oca-travis Jan 12, 2021
812b061
[MIG] hr_contract_reference: Migration to 14.0
Feb 26, 2021
a36d016
[UPD] Update hr_contract_reference.pot
oca-travis Mar 21, 2021
328d00f
[UPD] README.rst
OCA-git-bot Mar 21, 2021
9287c6e
Translated using Weblate (German)
marylla Jul 9, 2021
d7054d5
Translated using Weblate (Portuguese (Brazil))
Feb 1, 2022
5f05cbf
[UPD] Update hr_contract_reference.pot
May 18, 2022
77025c7
Update translation files
oca-transbot May 18, 2022
1fd04bf
[MIG] hr_contract_reference: Migration to 15.0
sanchonuria Aug 31, 2022
5b2de1a
[UPD] Update hr_contract_reference.pot
Sep 6, 2022
92116da
[UPD] README.rst
OCA-git-bot Sep 6, 2022
f1e0cd2
Translated using Weblate (Portuguese (Brazil))
douglascstd Sep 26, 2022
28a7adc
[UPD] Update hr_contract_reference.pot
Mar 10, 2023
228f395
Update translation files
weblate Mar 10, 2023
c864b1c
[MIG] hr_contract_reference: Migration to 16.0
Mar 28, 2023
c8d5897
[UPD] Update hr_contract_reference.pot
Jul 16, 2024
bbe7f23
[BOT] post-merge updates
OCA-git-bot Jul 16, 2024
3cb1a8a
Update translation files
weblate Jul 16, 2024
adf6fd8
[IMP] hr_contract_reference: pre-commit auto fixes
luisDIXMIT Apr 30, 2025
a245514
[MIG] hr_contract_reference: Migration to 18.0
luisDIXMIT Apr 30, 2025
0edfd18
[UPD] Update hr_contract_reference.pot
Jul 24, 2025
cc93604
[BOT] post-merge updates
OCA-git-bot Jul 24, 2025
4a477b3
Translated using Weblate (Italian)
mymage Jul 28, 2025
bd102db
[MIG] hr_contract_reference: Migration to 19.0
BhaveshHeliconia Dec 22, 2025
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
105 changes: 105 additions & 0 deletions hr_contract_reference/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=====================
HR Contract Reference
=====================

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

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

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

This module was written to extend the functionality of employees
contracts to support sequence of contract reference which will be
generated automatically from the sequence predefined.

**Table of contents**

.. contents::
:local:

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

If you want to modify the format of the sequence, go to Settings ->
Technical -> Sequences & Identifiers -> Sequences and search for the
"Contract Reference" sequence, where you modify its prefix and numbering
formats.

Usage
=====

When you will create a new employee contract, the field reference will
be assigned automatically with the next number of the predefined
sequence.

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_contract_reference%0Aversion:%2019.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
-------

* Michael Telahun Makonnen
* Fekete Mihai (Forest and Biomass Services Romania)

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

- Michael Telahun Makonnen <mmakonnen@gmail.com>
- Fekete Mihai <feketemihai@gmail.com>
- Denis Leemann <denis.leemann@camptocamp.com>
- Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
- Nikul Chaudhary <nikulchaudhary2112@gmail.com>
- `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`__

- Bhavesh Heliconia

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.

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

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

from . import models
15 changes: 15 additions & 0 deletions hr_contract_reference/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# copyright 2011,2013 Michael Telahun Makonnen <mmakonnen@gmail.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "HR Contract Reference",
"version": "19.0.1.0.0",
"category": "Generic Modules/Human Resources",
"author": "Michael Telahun Makonnen, "
"Fekete Mihai (Forest and Biomass Services Romania), "
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/hr",
"license": "AGPL-3",
"depends": ["hr"],
"data": ["data/hr_contract_sequence.xml"],
"installable": True,
}
9 changes: 9 additions & 0 deletions hr_contract_reference/data/hr_contract_sequence.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="seq_contract_ref" model="ir.sequence">
<field name="name">Contract Reference</field>
<field name="code">contract.ref</field>
<field name="prefix">EC/%(year)s/</field>
<field name="padding">5</field>
</record>
</odoo>
34 changes: 34 additions & 0 deletions hr_contract_reference/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_contract_reference
#
# Translators:
# abdullah alsabi <alsabi.abdullah@gmail.com>, 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 <alsabi.abdullah@gmail.com>, 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_contract_reference
#: model:ir.model,name:hr_contract_reference.model_hr_contract
msgid "Contract"
msgstr ""

#. module: hr_contract_reference
#: model:ir.model.fields,field_description:hr_contract_reference.field_hr_contract__name
msgid "Contract Reference"
msgstr ""

#, fuzzy
#~ msgid "Employee Contract"
#~ msgstr "العقد"
33 changes: 33 additions & 0 deletions hr_contract_reference/i18n/cs_CZ.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_contract_reference
#
# Translators:
# Lukáš Spurný <lukasspurny8@gmail.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-23 03:45+0000\n"
"PO-Revision-Date: 2018-02-23 03:45+0000\n"
"Last-Translator: Lukáš Spurný <lukasspurny8@gmail.com>, 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=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"

#. module: hr_contract_reference
#: model:ir.model,name:hr_contract_reference.model_hr_contract
msgid "Contract"
msgstr ""

#. module: hr_contract_reference
#: model:ir.model.fields,field_description:hr_contract_reference.field_hr_contract__name
msgid "Contract Reference"
msgstr ""

#~ msgid "Employee Contract"
#~ msgstr "Smlouva o zaměstnance"
33 changes: 33 additions & 0 deletions hr_contract_reference/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_contract_reference
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: hr (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-08-18 13:10+0000\n"
"PO-Revision-Date: 2021-07-09 14:48+0000\n"
"Last-Translator: Maria Sparenberg <maria.sparenberg@gmx.net>\n"
"Language-Team: German (http://www.transifex.com/oca/OCA-hr-8-0/language/"
"de/)\n"
"Language: de\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_contract_reference
#: model:ir.model,name:hr_contract_reference.model_hr_contract
msgid "Contract"
msgstr ""

#. module: hr_contract_reference
#: model:ir.model.fields,field_description:hr_contract_reference.field_hr_contract__name
msgid "Contract Reference"
msgstr "Vertragsreferenz"

#~ msgid "Employee Contract"
#~ msgstr "Arbeitsvertrag"
33 changes: 33 additions & 0 deletions hr_contract_reference/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_contract_reference
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: hr (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-11-30 05:19+0000\n"
"PO-Revision-Date: 2015-07-27 23:43+0000\n"
"Last-Translator: <>\n"
"Language-Team: Spanish (http://www.transifex.com/oca/OCA-hr-8-0/language/"
"es/)\n"
"Language: es\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"

#. module: hr_contract_reference
#: model:ir.model,name:hr_contract_reference.model_hr_contract
msgid "Contract"
msgstr ""

#. module: hr_contract_reference
#: model:ir.model.fields,field_description:hr_contract_reference.field_hr_contract__name
msgid "Contract Reference"
msgstr ""

#, fuzzy
#~ msgid "Employee Contract"
#~ msgstr "Contrato"
33 changes: 33 additions & 0 deletions hr_contract_reference/i18n/fi.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_contract_reference
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: hr (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-04-14 04:15+0000\n"
"PO-Revision-Date: 2016-04-04 11:09+0000\n"
"Last-Translator: Jarmo Kortetjärvi <jarmo.kortetjarvi@gmail.com>\n"
"Language-Team: Finnish (http://www.transifex.com/oca/OCA-hr-8-0/language/"
"fi/)\n"
"Language: fi\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"

#. module: hr_contract_reference
#: model:ir.model,name:hr_contract_reference.model_hr_contract
msgid "Contract"
msgstr ""

#. module: hr_contract_reference
#: model:ir.model.fields,field_description:hr_contract_reference.field_hr_contract__name
msgid "Contract Reference"
msgstr ""

#, fuzzy
#~ msgid "Employee Contract"
#~ msgstr "Sopimus"
32 changes: 32 additions & 0 deletions hr_contract_reference/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_contract_reference
#
# Translators:
# Alexandre Fayolle <alexandre.fayolle@camptocamp.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-23 03:45+0000\n"
"PO-Revision-Date: 2018-02-23 03:45+0000\n"
"Last-Translator: Alexandre Fayolle <alexandre.fayolle@camptocamp.com>, 2018\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
"Language: fr\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"

#. module: hr_contract_reference
#: model:ir.model,name:hr_contract_reference.model_hr_contract
msgid "Contract"
msgstr ""

#. module: hr_contract_reference
#: model:ir.model.fields,field_description:hr_contract_reference.field_hr_contract__name
msgid "Contract Reference"
msgstr ""

#~ msgid "Employee Contract"
#~ msgstr "Contrat"
34 changes: 34 additions & 0 deletions hr_contract_reference/i18n/hi_IN.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_contract_reference
#
# Translators:
# BS Logics <bslogics2017@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-07-29 02:20+0000\n"
"PO-Revision-Date: 2017-07-29 02:20+0000\n"
"Last-Translator: BS Logics <bslogics2017@gmail.com>, 2017\n"
"Language-Team: Hindi (India) (https://www.transifex.com/oca/teams/23907/"
"hi_IN/)\n"
"Language: hi_IN\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"

#. module: hr_contract_reference
#: model:ir.model,name:hr_contract_reference.model_hr_contract
msgid "Contract"
msgstr ""

#. module: hr_contract_reference
#: model:ir.model.fields,field_description:hr_contract_reference.field_hr_contract__name
msgid "Contract Reference"
msgstr ""

#, fuzzy
#~ msgid "Employee Contract"
#~ msgstr "संपर्क "
Loading
Loading