Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
a7664c6
Employee and Contract Management, Attendance and Scheduling, Payroll …
miketelahun Aug 12, 2013
d6a9687
PEP8
Sep 23, 2013
8442e75
Initialize 8.0 branch
dreispt Sep 16, 2014
7fd9421
Port hr_contract_reference to V8 and new api.
feketemihai Apr 21, 2015
01fafeb
Add readme.
feketemihai Apr 21, 2015
2c328a7
Update readme.
feketemihai Apr 21, 2015
94535c1
Update code as commented, update readme.
feketemihai Apr 21, 2015
125bf09
Update readme.
feketemihai Apr 21, 2015
1c07387
Update authors, license definition.
feketemihai Apr 21, 2015
dac782e
Fix typo.
feketemihai Apr 22, 2015
f376b35
Add missing default oca icons
yvaucher Aug 18, 2015
27906e7
OCA Transbot updated translations from Transifex
oca-transbot Sep 1, 2015
0e4d762
prefix versions with 8.0
sbidoul Oct 9, 2015
3abc82f
Make modules uninstallable
pedrobaeza Jul 5, 2016
4f6603c
Rename manifest files
pedrobaeza Oct 6, 2016
ce2f988
hr_contract_reference: Migrated to 10.0
leemannd Feb 22, 2017
90cdb20
hr_contract_reference:Migration to 11.0.
Trivedi-Vacha-SerpentCS Jul 3, 2018
53d9e81
Translated using Weblate (German)
marylla Dec 17, 2018
3766825
[MIG] hr_contract_reference v11 to v12
Nikul-Chaudhary Jan 20, 2019
42e5f91
[13.0][MIG] hr_contract_reference
Oct 13, 2020
6e3dc1b
[MIG] hr_contract_reference: Migration to 14.0
Feb 26, 2021
fffb410
Translated using Weblate (German)
marylla Jul 9, 2021
8533a03
Translated using Weblate (Portuguese (Brazil))
Feb 1, 2022
ce3ccba
[MIG] hr_contract_reference: Migration to 15.0
sanchonuria Aug 31, 2022
8f90448
Translated using Weblate (Portuguese (Brazil))
douglascstd Sep 26, 2022
394dbcf
[MIG] hr_contract_reference: Migration to 16.0
Mar 28, 2023
91917d3
Translated using Weblate (Portuguese (Brazil))
SottomaiorMacedoTec Jul 16, 2024
ff696b5
Translated using Weblate (Italian)
mymage Jul 18, 2024
c5a27b6
Added translation using Weblate (Galician)
pcastelovigo May 23, 2026
271f666
[MIG] hr_contract_reference: Migration to 17.0
mtelahun Jul 23, 2026
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
98 changes: 98 additions & 0 deletions hr_contract_reference/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
=====================
HR Contract Reference
=====================

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

.. |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_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-17-0/hr-17-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=17.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:%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
-------

* 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>

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/17.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
18 changes: 18 additions & 0 deletions hr_contract_reference/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 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": "17.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_contract"],
"data": [
"data/hr_contract_sequence.xml",
"views/hr_contract_views.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"
27 changes: 27 additions & 0 deletions hr_contract_reference/i18n/gl.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:
# * hr_contract_reference
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2026-07-05 21:46+0000\n"
"Last-Translator: Cándido Martínez <candido@supermercadoscooperativos.com>\n"
"Language-Team: none\n"
"Language: gl\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 5.15.2\n"

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

#. module: hr_contract_reference
#: model:ir.model.fields,field_description:hr_contract_reference.field_hr_contract__name
msgid "Contract Reference"
msgstr "Referencia de contrato"
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