odoo13-addon-resource-hook
odoo13-addon-resource-hook
pypi i odoo13-addon-resource-hook
odoo13-addon-resource-hook

odoo13-addon-resource-hook

Odoo Human Resources Addons

by OCA

13.0.1.0.1 (see all)License:AGPL-3
pypi i odoo13-addon-resource-hook
Readme

=============

Resource Hook

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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%2Fhr-lightgray.png?logo=github :target: https://github.com/OCA/hr/tree/13.0/resource_hook :alt: OCA/hr .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png :target: https://translation.odoo-community.org/projects/hr-13-0/hr-13-0-resource_hook :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png :target: https://runbot.odoo-community.org/runbot/116/13.0 :alt: Try me on Runbot

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

This module includes additional hooks to the standard resource methods, so that it is possible to alter the behaviour of methods, where inheritance is not an option.

Table of contents

.. contents:: :local:

Changelog

11.0.1.0.0 (2019-05-28)


* Introduce hook in method `_get_work_days_data` of ResourceMixing class in
  order to allow changes in the logic to compute working hours within an
  interval. A new method `_get_work_hours` is now provided for this purpose.
  The method can be inherit to alter the standard behaviour.

12.0.1.0.2 (2020-06-09)
  • Introduce hook in method get_work_hours_count of ResourceCalendar class in order to allow changes in the logic to compute working hours within an interval. A new method _get_work_hours is now provided for this purpose. The method can be inherit to alter the standard behaviour.

13.0.1.0.0 (2020-09-29)


* Introduce hook in methods `list_work_time_per_day` and `list_leaves` of
  ResourceMixing class in order to allow changes in the logic to compute
  working hours within an interval.

* Introduce hook in methods `_get_days_data`, `_get_resources_day_total`,
  `get_work_hours_count`, `plan_hours` and `_compute_hours_per_day` of
  ResourceCalendar class in order to allow changes in the logic to compute
  working hours within an interval or an attendance. A new method
  `_get_work_hours_attendance` is now provided for this purpose.
  The method can be inherit to alter the standard behaviour.

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

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

* Creu Blanca

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

* Creu Blanca
    * Jaime Arroyo <jaime.arroyo@creublanca.es>

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/hr <https://github.com/OCA/hr/tree/13.0/resource_hook>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
VersionTagPublished
13.0.1.0.1
6mos ago
13.0.1.0.1.dev5
1yr ago
13.0.1.0.1.dev4
1yr ago
13.0.1.0.1.dev2
2yrs ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate