-
-
Notifications
You must be signed in to change notification settings - Fork 4
[17.0][MIG] hr_planning_resources #5
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
base: 17.0
Are you sure you want to change the base?
Changes from all commits
b08a9d8
98844a5
afd8906
bc18975
411e569
53b83c5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,95 @@ | ||
| =================== | ||
| 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/17.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-17-0/resource-17-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=17.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:%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 | ||
| ------- | ||
|
|
||
| * 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/17.0/hr_planning_resources>`_ project on GitHub. | ||
|
|
||
| You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| from . import models | ||
| from . import wizard | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| { | ||
| "name": "HR Resource Planner", | ||
| "summary": "", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please add a summary |
||
| "version": "17.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", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. My suggestion is to move helpdesk integration to another addon. |
||
| "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/timeline_renderer.esm.js", | ||
| "hr_planning_resources/static/src/js/timeline_controller.esm.js", | ||
| "hr_planning_resources/static/src/xml/web_timeline.xml", | ||
| ], | ||
| }, | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| <?xml version="1.0" encoding="UTF-8" ?> | ||
| <odoo> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should be |
||
| <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> | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remember the singular naming convention for module names.
This should probably be
hr_planning_resource.