Extends the resource with hooks to standard methods.
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
- 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.
Bugs are tracked on GitHub 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.
Do not contact contributors directly about support or help with technical issues.
This module is maintained by the OCA.
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 project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size odoo12_addon_resource_hook-184.108.40.206.0.99.dev2-py3-none-any.whl (22.2 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
Hashes for odoo12_addon_resource_hook-220.127.116.11.0.99.dev2-py3-none-any.whl