Skip to content

Commit 3bc5495

Browse files
committed
[IMP]hr_utilization_report: black, isort, prettier
1 parent 3f34149 commit 3bc5495

File tree

4 files changed

+44
-32
lines changed

4 files changed

+44
-32
lines changed

hr_utilization_report/README.rst

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22
Task Logs Utilization Report
33
============================
44

5-
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
67
!! This file is generated by oca-gen-addon-readme !!
78
!! changes will be overwritten. !!
89
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:0e6930e3625dcc77dd034b168f08a54d02c1134a1ec7bd3d2c430ac494fd9d8d
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
912
1013
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1114
:target: https://odoo-community.org/page/development-status
@@ -14,16 +17,16 @@ Task Logs Utilization Report
1417
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1518
:alt: License: AGPL-3
1619
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Ftimesheet-lightgray.png?logo=github
17-
:target: https://github.com/OCA/timesheet/tree/14.0/hr_utilization_report
20+
:target: https://github.com/OCA/timesheet/tree/15.0/hr_utilization_report
1821
:alt: OCA/timesheet
1922
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
20-
:target: https://translation.odoo-community.org/projects/timesheet-14-0/timesheet-14-0-hr_utilization_report
23+
:target: https://translation.odoo-community.org/projects/timesheet-15-0/timesheet-15-0-hr_utilization_report
2124
:alt: Translate me on Weblate
22-
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
23-
:target: https://runbot.odoo-community.org/runbot/117/14.0
24-
:alt: Try me on Runbot
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/timesheet&target_branch=15.0
27+
:alt: Try me on Runboat
2528

26-
|badge1| |badge2| |badge3| |badge4| |badge5|
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
2730

2831
This module allows to generate Utilization Report from Task Logs.
2932

@@ -84,8 +87,8 @@ Bug Tracker
8487

8588
Bugs are tracked on `GitHub Issues <https://github.com/OCA/timesheet/issues>`_.
8689
In case of trouble, please check there if your issue has already been reported.
87-
If you spotted it first, help us smashing it by providing a detailed and welcomed
88-
`feedback <https://github.com/OCA/timesheet/issues/new?body=module:%20hr_utilization_report%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
90+
If you spotted it first, help us to smash it by providing a detailed and welcomed
91+
`feedback <https://github.com/OCA/timesheet/issues/new?body=module:%20hr_utilization_report%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
8992

9093
Do not contact contributors directly about support or help with technical issues.
9194

@@ -118,6 +121,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
118121
mission is to support the collaborative development of Odoo features and
119122
promote its widespread use.
120123

121-
This module is part of the `OCA/timesheet <https://github.com/OCA/timesheet/tree/14.0/hr_utilization_report>`_ project on GitHub.
124+
This module is part of the `OCA/timesheet <https://github.com/OCA/timesheet/tree/15.0/hr_utilization_report>`_ project on GitHub.
122125

123126
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

hr_utilization_report/static/description/index.html

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
<?xml version="1.0" encoding="utf-8" ?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
33
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6-
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
6+
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
77
<title>Task Logs Utilization Report</title>
88
<style type="text/css">
99

1010
/*
1111
:Author: David Goodger ([email protected])
12-
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
12+
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
1313
:Copyright: This stylesheet has been placed in the public domain.
1414
1515
Default cascading style sheet for the HTML output of Docutils.
1616
17-
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
17+
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1818
customize this style sheet.
1919
*/
2020

@@ -366,8 +366,10 @@ <h1 class="title">Task Logs Utilization Report</h1>
366366
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367367
!! This file is generated by oca-gen-addon-readme !!
368368
!! changes will be overwritten. !!
369+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370+
!! source digest: sha256:0e6930e3625dcc77dd034b168f08a54d02c1134a1ec7bd3d2c430ac494fd9d8d
369371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
370-
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/timesheet/tree/14.0/hr_utilization_report"><img alt="OCA/timesheet" src="https://img.shields.io/badge/github-OCA%2Ftimesheet-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/timesheet-14-0/timesheet-14-0-hr_utilization_report"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/117/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
372+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/timesheet/tree/15.0/hr_utilization_report"><img alt="OCA/timesheet" src="https://img.shields.io/badge/github-OCA%2Ftimesheet-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/timesheet-15-0/timesheet-15-0-hr_utilization_report"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/timesheet&amp;target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
371373
<p>This module allows to generate Utilization Report from Task Logs.</p>
372374
<dl class="docutils">
373375
<dt>Features:</dt>
@@ -385,19 +387,19 @@ <h1 class="title">Task Logs Utilization Report</h1>
385387
<p><strong>Table of contents</strong></p>
386388
<div class="contents local topic" id="contents">
387389
<ul class="simple">
388-
<li><a class="reference internal" href="#usage" id="id1">Usage</a></li>
389-
<li><a class="reference internal" href="#known-issues-roadmap" id="id2">Known issues / Roadmap</a></li>
390-
<li><a class="reference internal" href="#bug-tracker" id="id3">Bug Tracker</a></li>
391-
<li><a class="reference internal" href="#credits" id="id4">Credits</a><ul>
392-
<li><a class="reference internal" href="#authors" id="id5">Authors</a></li>
393-
<li><a class="reference internal" href="#contributors" id="id6">Contributors</a></li>
394-
<li><a class="reference internal" href="#maintainers" id="id7">Maintainers</a></li>
390+
<li><a class="reference internal" href="#usage" id="toc-entry-1">Usage</a></li>
391+
<li><a class="reference internal" href="#known-issues-roadmap" id="toc-entry-2">Known issues / Roadmap</a></li>
392+
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-3">Bug Tracker</a></li>
393+
<li><a class="reference internal" href="#credits" id="toc-entry-4">Credits</a><ul>
394+
<li><a class="reference internal" href="#authors" id="toc-entry-5">Authors</a></li>
395+
<li><a class="reference internal" href="#contributors" id="toc-entry-6">Contributors</a></li>
396+
<li><a class="reference internal" href="#maintainers" id="toc-entry-7">Maintainers</a></li>
395397
</ul>
396398
</li>
397399
</ul>
398400
</div>
399401
<div class="section" id="usage">
400-
<h1><a class="toc-backref" href="#id1">Usage</a></h1>
402+
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
401403
<p>To create report using Utilization Report Wizard:</p>
402404
<ol class="arabic simple">
403405
<li>Go to <em>Timesheets &gt; Reporting &gt; Utilization Report Wizard</em>.</li>
@@ -427,30 +429,30 @@ <h1><a class="toc-backref" href="#id1">Usage</a></h1>
427429
would be calculated as 100%.</p>
428430
</div>
429431
<div class="section" id="known-issues-roadmap">
430-
<h1><a class="toc-backref" href="#id2">Known issues / Roadmap</a></h1>
432+
<h1><a class="toc-backref" href="#toc-entry-2">Known issues / Roadmap</a></h1>
431433
<ul class="simple">
432434
<li>Add <tt class="docutils literal"><span class="pre">text-danger</span></tt>/<tt class="docutils literal"><span class="pre">text-warning</span></tt> threshold levels and reporting color,
433435
congfigurable via company settings and alterable at wizard level.</li>
434436
</ul>
435437
</div>
436438
<div class="section" id="bug-tracker">
437-
<h1><a class="toc-backref" href="#id3">Bug Tracker</a></h1>
439+
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
438440
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/timesheet/issues">GitHub Issues</a>.
439441
In case of trouble, please check there if your issue has already been reported.
440-
If you spotted it first, help us smashing it by providing a detailed and welcomed
441-
<a class="reference external" href="https://github.com/OCA/timesheet/issues/new?body=module:%20hr_utilization_report%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
442+
If you spotted it first, help us to smash it by providing a detailed and welcomed
443+
<a class="reference external" href="https://github.com/OCA/timesheet/issues/new?body=module:%20hr_utilization_report%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
442444
<p>Do not contact contributors directly about support or help with technical issues.</p>
443445
</div>
444446
<div class="section" id="credits">
445-
<h1><a class="toc-backref" href="#id4">Credits</a></h1>
447+
<h1><a class="toc-backref" href="#toc-entry-4">Credits</a></h1>
446448
<div class="section" id="authors">
447-
<h2><a class="toc-backref" href="#id5">Authors</a></h2>
449+
<h2><a class="toc-backref" href="#toc-entry-5">Authors</a></h2>
448450
<ul class="simple">
449451
<li>CorporateHub</li>
450452
</ul>
451453
</div>
452454
<div class="section" id="contributors">
453-
<h2><a class="toc-backref" href="#id6">Contributors</a></h2>
455+
<h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
454456
<ul class="simple">
455457
<li>Dhara Solanki &lt;<a class="reference external" href="mailto:dhara.solanki&#64;initos.com">dhara.solanki&#64;initos.com</a>&gt;</li>
456458
<li><a class="reference external" href="https://corporatehub.eu/">CorporateHub</a><ul>
@@ -460,13 +462,13 @@ <h2><a class="toc-backref" href="#id6">Contributors</a></h2>
460462
</ul>
461463
</div>
462464
<div class="section" id="maintainers">
463-
<h2><a class="toc-backref" href="#id7">Maintainers</a></h2>
465+
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
464466
<p>This module is maintained by the OCA.</p>
465467
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
466468
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
467469
mission is to support the collaborative development of Odoo features and
468470
promote its widespread use.</p>
469-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/timesheet/tree/14.0/hr_utilization_report">OCA/timesheet</a> project on GitHub.</p>
471+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/timesheet/tree/15.0/hr_utilization_report">OCA/timesheet</a> project on GitHub.</p>
470472
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
471473
</div>
472474
</div>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../hr_utilization_report

setup/hr_utilization_report/setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import setuptools
2+
3+
setuptools.setup(
4+
setup_requires=['setuptools-odoo'],
5+
odoo_addon=True,
6+
)

0 commit comments

Comments
 (0)