Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
ae6ff76
Employee and Contract Management, Attendance and Scheduling, Payroll …
miketelahun Aug 12, 2013
23e90f1
PEP8
Sep 23, 2013
9d4a7d5
Initialize 8.0 branch
dreispt Sep 16, 2014
6a7b0ae
Port hr_contract_reference to V8 and new api.
feketemihai Apr 21, 2015
43015d9
Add readme.
feketemihai Apr 21, 2015
b1afa55
Update readme.
feketemihai Apr 21, 2015
76978ad
Update code as commented, update readme.
feketemihai Apr 21, 2015
5c00a27
Fix travis errors.
feketemihai Apr 21, 2015
0a7716f
Update readme.
feketemihai Apr 21, 2015
364a428
Update authors, license definition.
feketemihai Apr 21, 2015
7bf7a63
Fix typo.
feketemihai Apr 22, 2015
5559c50
Add missing default oca icons
yvaucher Aug 18, 2015
d1a37ba
prefix versions with 8.0
sbidoul Oct 9, 2015
746500d
Make modules uninstallable
pedrobaeza Jul 5, 2016
a9b6607
Rename manifest files
pedrobaeza Oct 6, 2016
6a3a7ae
hr_contract_reference: Migrated to 10.0
leemannd Feb 22, 2017
476a799
hr_contract_reference:Migration to 11.0.
Trivedi-Vacha-SerpentCS Jul 3, 2018
2c844bc
Translated using Weblate (German)
marylla Dec 17, 2018
9a243c9
[MIG] hr_contract_reference v11 to v12
Nikul-Chaudhary Jan 20, 2019
1d17e9d
[IMP] hr_contract_reference: black, isort, prettier
Oct 13, 2020
3ab4c30
[13.0][MIG] hr_contract_reference
Oct 13, 2020
57c1a68
[MIG] hr_contract_reference: Migration to 14.0
Feb 26, 2021
da31e17
Translated using Weblate (German)
marylla Jul 9, 2021
d969584
Translated using Weblate (Portuguese (Brazil))
Feb 1, 2022
fe7244b
[MIG] hr_contract_reference: Migration to 15.0
sanchonuria Aug 31, 2022
ac0d2aa
Translated using Weblate (Portuguese (Brazil))
douglascstd Sep 26, 2022
7d622b3
[MIG] hr_contract_reference: Migration to 16.0
Mar 28, 2023
9b9d01e
[IMP] hr_contract_reference: pre-commit auto fixes
luisDIXMIT Apr 30, 2025
08fd8b0
[MIG] hr_contract_reference: Migration to 18.0
luisDIXMIT Apr 30, 2025
1c4adb1
Translated using Weblate (Italian)
mymage Jul 28, 2025
6c2696d
[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