Search 1.9 billion lines of Odoo code on GitHub

hr_holidays_hour

Author: Onestein, Odoo Community Association (OCA)
License: AGPL-3
Branch: 10.0
Repository: 001101/hr
Dependencies: hr_contract, and hr_holidays
Languages: PO File (72, 7.9%), Python (643, 70.4%), XML (133, 14.6%), and reStructuredText (65, 7.1%)
Other branches: 11.0, and 12.0
Other repositories: AAommy/hr, AlicePhamFI/hr, BIZ4Africa/hr, Bewlony/hr, CGenie/hr, Callino/hr, Carlos672/hr, Chandresh-SerpentCS/hr, Change2improve/hr, ChavdaRiddhi/hr, Colorlessgold/hr, CompassionCH/hr, DESCAMPS-Bernard/hr, Darknroses/hr, Dhrupesh/hr, Digital5-Odoo/hr, Dobtor-OCA/hr, DucTruongKomit/hr, EFJIT/hr, ERPLibre/hr, Emadbox/hr, Escodoo/hr, FeraryDong/hr, Fitranugraha/hr, ForgeFlow/hr, Gabinete-Digital/hr, GrupoAlvamex/hr, Guobower/hr, HarshalBhoir/hr, HashBangCoop/hr, Ingeos/hr, JagdishPanchalSCS/hr, Jayde29/hr, JazziMc/hr, Juergv-zhinst/hr, KonosCL/hr, LaMachinerieDigitale/odoo_rh_oca, LeaMartinek/hr, MYRCONSULTING/hr-1, Mahmoud-Alaa-Eldeen/hr, MallorcaSoft/hr, MarkingSC/hr, MathBenTech/hr, Mefistous/hr, MindAndGo/hr, Murtaza-Mithaiwala/hr, NachoAlesLopez/hr, NeatNerdPrime/hr, NextERP-Romania/hr, Nikul-Chaudhary/hr, OCA-MUK/hr, OCA/hr, PNLUG/hr, Peerapong-Supasompob/hr, PrenorSistemas/hr, QubiQ/hr, RealSolutionsLux/hr, RetinaInc/hr, SanteLibre/hr, SerpentConsultingServices/hr, Solofo78/hr, Studio73/hr, Supattra6548/hr, Swapnesh-SerpentCS/hr, TechnovicInfotech/hr, Tecnativa/hr, Trivedi-Vacha-SerpentCS/hr, Vauxoo/hr, VisiionSolucionesTecnologicas/hr, Yaroslab/hr, YogeshMahera-SerpentCS/hr, abdulhalim-cu/hr, acsone/hr, agenterp/hr, agenterpgmbh/hr, alessavindell/hr, algiopensource/hr, alsalqan/hr, anandkansagra/hr, andreinl/hr, anhvu-sg/hr, area-scm/hr, arsof1/hr, aurestic/hr, beemoza/hr, bimajatiwijaya/hr, bitshembertiregui/hr, bodi000/hr, brain-tec/hr, brainbeanapps/hr, brian10048/hr, burhan-vakharia/hr, busmanapps/hr, camptocamp/hr, captivea-rdi/hr, code4funvn/hr, codentsoftware/hr, coopaname/hr, coopiteasy/hr, dainiervg1988/hr, danhvophuong/hr, delfixtecnosoluciones/hr, diagramsoftware/hr, dionmartin/hr, djimenezm/hr, dmdavidmichael/hr, druidoo-dev/hr, ecosoft-odoo/hr, elego/oca-hr, elif-demir/hr, elrodo1/hr, emagdalenaC2i/hr, emdeechege/hr, enmasys/hr, eslAmer/hr, eslammohamed13/hr, etobella/hr, exosoftware/oca-hr, farinoire/hr, fjperezgarrido/hr, gab-net/hr, gastonfeng/hr, grethellgarcia/hr, grindtildeath/hr, gurneyalex/hr, gustavovalverde/hr, haular/hr, hbrunn/hr, hendrixcosta/hr, i-vyshnevska/hr, ideaspositivas-group/hr, imedC/hr, initOS/hr, invitu/hr, ip-candres/hr, iyangming/hr, jaa-odoo/hr, jacky82669513/hr, janverb/hr, jonisunz/hr, jsrhtc/hr, juhk/hr, julianram/hr, jutamas290385/hr, kittiu/hr, kitworks-systems/hr, kongrattapong/hr, kujuwew/hr, kullykiki/hr, labaggio/hr, landoo-es/hr, levkar/hr, lideritjnma/hr, lincersolucoes/oca-hr, linkitspa/hr, luistorresm/hr, maherjaballi/hr, makeplerc/hr, marcelofrare/hr, mauraco-group/hr, maxellini/hr, mazhro/hr, mefiskafka/hr-1, meigallodixital/hr, miguelguzmanr/hr, mondoraemon/hr, mrizqiariadi/hr, muiserpi/hr, mymage/hr, myonnet/oca-hr, nabima/hr, napr/hr, netfarm/hr, nikul-serpentcs/hr, niulinlnc/hr, nuobit/hr, odooconcept/hr, odoocr/hr, ogemalmayan/hr, one2pret/hr, oneshiro/hr, onesteinbv/hr, onurugur/hr, open-net-sarl/hr, osi-scampbell/hr, ovnicraft/hr, patrickrwilson/hr, pavelpy/hr, pawanmisra/hr, pegonzalezspesol/hr, petypi/hr, popcomputadores-desenv/hr, prisehub/hr, ps-tubtim/hr, pscloud/hr, pythoner-3k/hr, qprintcloud/hr, quentinDupont/hr, randall-vx/hr, redblow/hr, relatedlove/hr-1, ricardus34/hr, rjpathan/hr, rlfss/hr-1, rokealva83/hr, royalline1/hr, ruveydayasak/hr, sambarros/hr, sanube/hr, sendalpegat/hr, sewisoft/hr, sherpya/hr, soeethiha/hr, sopheak1/hr, steingabelgaard/hr, suniagajose/hr, sysdiary/hr, takinobori/oca-hr, tariqsust/hr, tasmail/hr, tegin/hr, thapanat/hr, thinkasoft-dev/hr, tschanzt/hr, uktc87504/hr, unitek-solusi/OCA-hr, ursais/hr, varunxyz/hr, vdedyukhin/hr, veetoki/hr, versada/hr, vjd8866/hr, vmelnych/hr, vrenaville/hr, vvrossem/hr, wademor/hr, wahello/hr, watcharaporn-git/hr, wattanadev/hr, whileom/hr, wjshan/hr, x0rzkov/odoo-hr, xpansa/hr, xpertiz/hr, yostashiro/hr, yucer/hr, and zaidkilani/hr

<a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> </a> <a name="leave-management-in-hours"></a> <h2>Leave Management in hours</h2> <p>The standard Odoo application &quot;Leave Management&quot; allows employees to create leave allocations and requests by defining their duration in days.</p> <p>By installing this module, the duration of the leaves will be expressed in hours, instead of days. In the leave form, a new field &quot;duration&quot; (in hours) will be displayed and the original field &quot;duration&quot; (in days) will be hidden.</p> <p>As an example, let's say that a working day for an employee is 8 hours:</p> <ul class="simple"> <li>1 day = 8 hours</li> <li>2 days = 16 hours</li> <li>0.5 days (half day) = 4 hours</li> <li>0.125 days = 1 hour</li> </ul> <p>etc...</p> <p>If the employee wants to request a leave of one hour:</p> <ul class="simple"> <li>with the standard Odoo app &quot;Leave Management&quot; the employee would write 0.125 days</li> <li>with module &quot;hr_holidays_hour&quot; installed, the employee writes 1.0 hour</li> </ul> <p>If the employee wants to request half a day:</p> <ul class="simple"> <li>with the standard Odoo app &quot;Leave Management&quot; the employee would write 0.5 days</li> <li>with module &quot;hr_holidays_hour&quot; installed, the employee writes 4.0 hours</li> </ul> <p>In case a working time schedule is defined for an employee, the duration (in hours) will be automatically filled while setting the starting date and the ending date of a leave request. If the &quot;Working Time&quot; is not set for the employee, but the employee has a contract with a working schedule, the duration (in hours) will be automatically filled as well.</p> <a name="usage"></a> <h3>Usage</h3> <p>To request a leave, an employee can:</p> <ol class="arabic simple"> <li>From menu Leaves, create a Leave Request by setting the duration in hours (instead of days)</li> </ol> <p>To allocate hours for an employee:</p> <ol class="arabic simple"> <li>From menu Leaves, create an Allocation Request by setting the duration in hours (instead of days)</li> </ol> <p>To fully benefit from this module, the HR Officer should set a working time schedule for the employees. The duration (in hours) will be automatically filled while setting the start and the end date of a leave. In thi cas, the employee requesting a leave is still able to adjust the hours manually.</p> <p>To set a working schedule for an employee:</p> <ol class="arabic simple"> <li>From menu Employees -&gt; Employees, select one employee</li> <li>Set the &quot;Working Time&quot; field</li> </ol> <p>If the &quot;Working Time&quot; is not set for the employee, but the employee has a contract with a working schedule, the duration (in hours) will be automatically filled as well.</p> <ol class="arabic simple"> <li>From menu Employees -&gt; Employees, select one employee</li> <li>Click on Contracts and select the employee's actual contract</li> <li>Set the &quot;Working Schedule&quot; field</li> </ol> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/116/10.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/hr/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smash it by providing detailed and welcomed feedback.</p> <a name="credits"></a> <h3>Credits</h3> <p>Tests for <cite>resource_calendar</cite> are repeated from the Odoo SA standard module <cite>resource</cite>.</p> <a name="images"></a> <h4>Images</h4> <ul class="simple"> <li>Odoo Community Association: <a class="reference external" href="https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg">Icon</a>.</li> </ul> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Antonio Esposito &lt;<a class="reference external" href="mailto:a.esposito&#64;onestein.nl">a.esposito&#64;onestein.nl</a>&gt;</li> <li>Andrea Stirpe &lt;<a class="reference external" href="mailto:a.stirpe&#64;onestein.nl">a.stirpe&#64;onestein.nl</a>&gt;</li> </ul> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="maintainer"></a> <h4>Maintainer</h4> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>This module is maintained by the OCA.</p> <p>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.</p> <p>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>