Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ odoo_version: 16.0
org_name: Odoo Community Association (OCA)
org_slug: OCA
rebel_module_groups: []
repo_description: 'TODO: add repo description.'
repo_name: hr-holidays
repo_description: All functionality having to do with employee leave management.
repo_name: Modules to enhance employee leave functionality
repo_slug: hr-holidays
repo_website: https://github.com/OCA/hr-holidays
use_pyproject_toml: false
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,6 @@ docs/_build/

# OCA rules
!static/lib/

# AI Assistents
CLAUDE.md
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[![Support the OCA](https://odoo-community.org/readme-banner-image)](https://odoo-community.org/get-involved?utm_source=repo-readme)

# hr-holidays
# Modules to enhance employee leave functionality
[![Runboat](https://img.shields.io/badge/runboat-Try%20me-875A7B.png)](https://runboat.odoo-community.org/builds?repo=OCA/hr-holidays&target_branch=16.0)
[![Pre-commit Status](https://github.com/OCA/hr-holidays/actions/workflows/pre-commit.yml/badge.svg?branch=16.0)](https://github.com/OCA/hr-holidays/actions/workflows/pre-commit.yml?query=branch%3A16.0)
[![Build Status](https://github.com/OCA/hr-holidays/actions/workflows/test.yml/badge.svg?branch=16.0)](https://github.com/OCA/hr-holidays/actions/workflows/test.yml?query=branch%3A16.0)
Expand All @@ -10,7 +10,7 @@

<!-- /!\ do not modify above this line -->

TODO: add repo description.
All functionality having to do with employee leave management.

<!-- /!\ do not modify below this line -->

Expand Down
84 changes: 84 additions & 0 deletions hr_holidays_work_and_leaves/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

===========================
hr_holidays_work_and_leaves
===========================

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

.. |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--holidays-lightgray.png?logo=github
:target: https://github.com/OCA/hr-holidays/tree/16.0/hr_holidays_work_and_leaves
:alt: OCA/hr-holidays
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/hr-holidays-16-0/hr-holidays-16-0-hr_holidays_work_and_leaves
: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-holidays&target_branch=16.0
:alt: Try me on Runboat

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

This module was written to get a clear overview from leaves and
remaining work hours in a period.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/hr-holidays/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-holidays/issues/new?body=module:%20hr_holidays_work_and_leaves%0Aversion:%2016.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
-------

* Therp BV

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.

.. |maintainer-NL66278| image:: https://github.com/NL66278.png?size=40px
:target: https://github.com/NL66278
:alt: NL66278

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-NL66278|

This module is part of the `OCA/hr-holidays <https://github.com/OCA/hr-holidays/tree/16.0/hr_holidays_work_and_leaves>`_ 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_holidays_work_and_leaves/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models, wizards
23 changes: 23 additions & 0 deletions hr_holidays_work_and_leaves/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2026 Therp BV <https://therp.nl>.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "hr_holidays_work_and_leaves",
"summary": "Get real working hours within a period.",
"author": "Therp BV, Odoo Community Association (OCA)",
"maintainers": ["NL66278"],
"website": "https://github.com/OCA/hr-holidays",
"license": "AGPL-3",
"category": "Human Resources",
"version": "16.0.1.0.0",
"depends": ["hr_holidays", "hr_holidays_public"],
"data": [
"security/ir.model.access.csv",
"wizards/hr_employee_planning_views.xml",
"views/hr_employee_views.xml",
],
"demo": [
"demo/demo.xml",
],
"installable": True,
}
28 changes: 28 additions & 0 deletions hr_holidays_work_and_leaves/demo/demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<odoo>
<!--
<record id="object0" model="hr_holidays_work_and_leaves.hr_holidays_work_and_leaves">
<field name="name">Object 0</field>
<field name="value">0</field>
</record>

<record id="object1" model="hr_holidays_work_and_leaves.hr_holidays_work_and_leaves">
<field name="name">Object 1</field>
<field name="value">10</field>
</record>

<record id="object2" model="hr_holidays_work_and_leaves.hr_holidays_work_and_leaves">
<field name="name">Object 2</field>
<field name="value">20</field>
</record>

<record id="object3" model="hr_holidays_work_and_leaves.hr_holidays_work_and_leaves">
<field name="name">Object 3</field>
<field name="value">30</field>
</record>

<record id="object4" model="hr_holidays_work_and_leaves.hr_holidays_work_and_leaves">
<field name="name">Object 4</field>
<field name="value">40</field>
</record>
-->
</odoo>
3 changes: 3 additions & 0 deletions hr_holidays_work_and_leaves/models/__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 hr_employee
Loading
Loading