Search 1.9 billion lines of Odoo code on GitHub

hr_holidays_hour

Author: Onestein, Odoo Community Association (OCA)
License: AGPL-3
Branch: 12.0
Repository: 001101/hr
Dependencies: hr_holidays, and resource
Languages: HTML (356, 45.4%), PO File (82, 10.4%), Python (246, 31.3%), XML (32, 4.1%), and reStructuredText (69, 8.8%)
Other branches: 10.0, and 11.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

<h1 class="title">Leave Management in hours</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/hr/tree/12.0/hr_holidays_hour"><img alt="OCA/hr" src="https://img.shields.io/badge/github-OCA%2Fhr-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_holidays_hour"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/116/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>The standard Odoo application &quot;Leaves&quot; allows end users to create leave allocations and leave requests with duration expressed in days or in hours, depending on the configuration set in the leave types. However in the leave summary report, in the employee form and in some other places, the duration is displayed in days regardless of the configuration of the leave type. This is confusing for the customers that are used to manage leaves in hours.</p> <p>By installing this module, the duration will be displayed in hours in the following views:</p> <ul class="simple"> <li>Leaves Summary</li> <li>Leaves Left (smart button in Employee form)</li> <li>Remaining Legal Leaves (field in Employee form)</li> </ul> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#installation" id="id1">Installation</a></li> <li><a class="reference internal" href="#configuration" id="id2">Configuration</a></li> <li><a class="reference internal" href="#bug-tracker" id="id3">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id4">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id5">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id6">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id7">Maintainers</a></li> </ul> </li> </ul> </div> <a name="installation"></a> <h2><a class="toc-backref" href="#id1">Installation</a></h2> <p>This module requires a recent version of Odoo 12.0, released after 09-05-2019 (after commit <a class="reference external" href="https://github.com/odoo/odoo/commit/2c366acbf01664c4f8d3230d402aa5f2fb46e078">https://github.com/odoo/odoo/commit/2c366acbf01664c4f8d3230d402aa5f2fb46e078</a>).</p> <p>Also it is suggested (but not mandatory) a version of Odoo 12.0 that includes <a class="reference external" href="https://github.com/odoo/odoo/pull/33290">https://github.com/odoo/odoo/pull/33290</a></p> <a name="configuration"></a> <h2><a class="toc-backref" href="#id2">Configuration</a></h2> <p>For a better usage of this module, it is suggested (but not mandatory) to set field 'Take Leaves in' to 'Hour' in all the 'Leave Types'.</p> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id3">Bug Tracker</a></h2> <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 smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/OCA/hr/issues/new?body=module:%20hr_holidays_hour%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id4">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id5">Authors</a></h3> <ul class="simple"> <li>Onestein</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id6">Contributors</a></h3> <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> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id7">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <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>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>This module is part of the <a class="reference external" href="https://github.com/OCA/hr/tree/12.0/hr_holidays_hour">OCA/hr</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>