Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][ADD] hr_planning_resources #1

Open
wants to merge 4 commits into
base: 16.0
Choose a base branch
from
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
91 changes: 91 additions & 0 deletions hr_planning_resources/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
===================
HR Resource Planner
===================

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

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

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

This module is designed to improve human resources planning and management within an organization.
It's provides advanced tools for task scheduling, permission management, and resource planning,
allowing managers and employees to organize and visualize their schedules efficiently.

**Table of contents**

.. contents::
:local:

Usage
=====

1. Navigate to the "Planning" section in the main menu.
2. Select "My Planning" to view your assigned tasks.
3. To assign a new task, select "My Planning", click on the New button.
4. You can assign it from the same task, ticket or project using the assign to planning button.
5. In the task, if the "Force recalculation" checkbox is checked, all hours that have elapsed will be calculated.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/resource/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/resource/issues/new?body=module:%20hr_planning_resources%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
~~~~~~~

* Binhex

Contributors
~~~~~~~~~~~~

* `Binhex <https://www.binhex.cloud>`_:

* Antonio Ruban
* Adasat Torres de Leon
* Zuzanna Elzbieta Szalaty Szalaty

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/resource <https://github.com/OCA/resource/tree/16.0/hr_planning_resources>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions hr_planning_resources/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizard
32 changes: 32 additions & 0 deletions hr_planning_resources/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "HR Resource Planner",
"summary": "",
"version": "16.0.1.0.7",
"category": "Human Resources",
"website": "https://github.com/OCA/resource",
"author": "Binhex, Odoo Community Association (OCA)",
"depends": [
"project",
"web_timeline",
"helpdesk_mgmt",
"hr_holidays",
],
"data": [
"security/ir.model.access.csv",
"data/hr_task_ir_cron.xml",
"views/hr_task_views.xml",
"views/project_views.xml",
"wizard/create_hr_task_views.xml",
"views/menus.xml",
],
"license": "AGPL-3",
"application": False,
"installable": True,
"assets": {
"web.assets_backend": [
"hr_planning_resources/static/src/scss/hr_planning_resources.scss",
"hr_planning_resources/static/src/js/*.js",
"hr_planning_resources/static/src/xml/*.xml",
],
},
}
22 changes: 22 additions & 0 deletions hr_planning_resources/data/hr_task_ir_cron.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="ir_cron_hr_task" model="ir.cron">
<field name="name">Update Task</field>
<field name="model_id" ref="model_hr_task" />
<field name="state">code</field>
<field name="code">model.cron_update_task_state()</field>
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
<field name="doall">False</field>
<field name="active">True</field>
</record>
<record id="ir_cron_hr_task_schedule" model="ir.cron">
<field name="name">HR Planning Resources: generate next recurring shifts</field>
<field name="model_id" ref="model_hr_task_recurrency" />
<field name="state">code</field>
<field name="code">model._cron_schedule_next()</field>
<field name="interval_type">weeks</field>
<field name="numbercall">-1</field>
</record>
</odoo>
Loading
Loading