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 mig hr timesheet overtime #31

Merged
merged 97 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
01b00af
[UPD] Update hr_timesheet_sheet_current.pot
Dec 19, 2023
2d958b1
[BOT] post-merge updates
github-grap-bot Dec 19, 2023
5e31f3c
[ADD] hr_timesheet_project_prevent_creation
carmenbianca Aug 23, 2022
7291a48
[UPD] Update hr_timesheet_project_prevent_creation.pot
Aug 26, 2022
24ff2b0
[UPD] README.rst
github-grap-bot Aug 26, 2022
a439104
[IMP] hr_timesheet_project_prevent_creation: black, isort, prettier
victor-champonnois Jul 27, 2023
cca63db
[MIG] hr_timesheet_project_prevent_creation: Migration to 13.0
victor-champonnois Jul 27, 2023
5c85277
[MIG] hr_timesheet_project_prevent_creation: Migration to 14.0
victor-champonnois Jul 27, 2023
8044736
[MIG] hr_timesheet_project_prevent_creation: Migration to 15.0
victor-champonnois Jul 27, 2023
5d7ccd5
[MIG] hr_timesheet_project_prevent_creation: Migration to 16.0
victor-champonnois Jul 27, 2023
a824e7f
[UPD] Update hr_timesheet_project_prevent_creation.pot
Jan 12, 2024
b8596f2
[BOT] post-merge updates
github-grap-bot Jan 12, 2024
c66e23a
[WIP] hr_timesheet_overtime
vvrossem Nov 27, 2019
91a0881
[WIP] hr_timesheet_overtime
vvrossem Nov 29, 2019
b84ca62
[FIX] hr_timesheet_overtime / expected singleton
vvrossem Dec 4, 2019
d7d0492
[ADD] hr_timesheet_overtime : compute datetime
vvrossem Dec 9, 2019
79a07a4
[REM] hr_timesheet_overtime : unused test
vvrossem Dec 10, 2019
4751964
[FIX] hr_timesheet_overtime : timesheet_overtime initial amount
vvrossem Dec 11, 2019
611facd
[IMP] hr_timesheet_overtime : limit view to group_hr_user
vvrossem Dec 11, 2019
1981f6a
[ADD] hr_timesheet_overtime : timesheet_overtime in list/tree view
vvrossem Dec 11, 2019
b683432
[REF] hr_timesheet_overtime : minor changes
vvrossem Dec 20, 2019
518ff39
[FIX] hr_timesheet_overtime : correct use of @api.depends
vvrossem Dec 23, 2019
1e2a435
[ADD] hr_timesheet_overtime: unit tests
vvrossem Dec 23, 2019
388bba5
[IMP] hr_timesheet_overtime: black formatter
vvrossem Dec 23, 2019
231171e
[FIX] hr_timesheet_overtime: @api.depends
vvrossem Dec 23, 2019
34f0052
[ADD] hr_timesheet_overtime: readonly total_overtime
vvrossem Dec 23, 2019
cf395a6
[FIX] hr_timesheet_overtime: timesheet_overtime computation
robinkeunen Jan 22, 2020
3126cf1
[FIX] hr_timesheet_overtime: total overtime is computed over employee
robinkeunen Jan 22, 2020
31032d5
[IMP] hr_timesheet_overtime: oca conventions
robinkeunen Jan 22, 2020
a4bb901
[REF] hr_timesheet_overtime: flake 8
robinkeunen Feb 5, 2020
34ecdad
[CHG] hr_timesheet_overtime: compute overtime according to current day
vvrossem Feb 19, 2020
4f0fc78
[WIP] hr_timesheet_overtime: don't compute expired contract
vvrossem Mar 3, 2020
5d9bfcd
[IMP] hr_timesheet_overtime: contract's date_start and date_end
vvrossem Mar 4, 2020
f131037
[ADD] hr_timesheet_overtime: overtime rate management
vvrossem Mar 4, 2020
25d0a49
[REM] hr_timesheet_overtime: unused utility method
vvrossem Mar 4, 2020
208e289
[ADD] hr_timesheet_overtime: security for resource_overtime[_rate]
vvrossem Mar 5, 2020
c6730ad
[FIX] hr_timesheet_overtime: AttributeError - 'NoneType' on date
vvrossem Mar 5, 2020
7061958
[FIX] hr_timesheet_overtime: overtime page in employee's form
vvrossem Mar 5, 2020
0b868a5
[REF] hr_timesheet_overtime: reading condition chronologically
vvrossem Mar 5, 2020
0a2b39c
[REF] hr_timesheet_overtime: append _day to total_timesheet
vvrossem Mar 5, 2020
c048fc2
[REF] hr_timesheet_overtime: get_worked_hours method
vvrossem Mar 5, 2020
65da806
[REF] hr_timesheet_overtime: pythonesque condition values.get("")
vvrossem Mar 5, 2020
5e657fc
[IMP] hr_timesheet_overtime: named paramaters for rate_ids
vvrossem Mar 5, 2020
b3c7837
[ADD] hr_timesheet_overtime: group_user rights
vvrossem Mar 9, 2020
d67ea9a
[FIX] hr_timesheet_overtime: group_system -> group_hr_manager
vvrossem Mar 9, 2020
e3483d5
[ADD] hr_timesheet_overtime : Overtime Rate menu in Timesheets
vvrossem Mar 9, 2020
3334822
[FIX] hr_timesheet_overtime: external id -proper data files order
vvrossem Mar 10, 2020
4d501bd
[FIX] hr_timesheet_overtime: overtime_start_date <= sheet.date_to
vvrossem Mar 12, 2020
08b1a43
[IMP] hr_timesheet_overtime: case with_context(create=True)
vvrossem Mar 16, 2020
6149d36
[ADD] hr_timesheet_overtime: access rights on page overtime
vvrossem Mar 31, 2020
b86bb70
[REM] hr_timesheet_overtime: remove total_overtime from timesheet she…
mclaeysb Nov 4, 2020
cbb2677
[ADD] hr_timesheet_overtime: archive timesheets
mclaeysb Nov 5, 2020
bd850bc
[REM] hr_timesheet_overtime: remove total_overtime from employee tree…
mclaeysb Nov 24, 2020
a9c11d8
[IMP] paint it black
huguesdk Sep 6, 2021
0f7e7e9
[MIG] hr_timesheet_overtime: migration to 10.0
huguesdk Oct 15, 2021
327996f
[MIG] hr_timesheet_overtime: migration to 11.0
huguesdk Oct 15, 2021
0c2c556
[MIG] hr_timesheet_overtime: migration to 12.0
huguesdk Oct 15, 2021
6af5686
[FIX] fix dependency to hr_timesheet.sheet.active
huguesdk Oct 15, 2021
3dc03d4
[IMP] update manifest and readme
huguesdk Oct 20, 2021
e3fcaaf
[IMP] pass pre-commit
huguesdk Oct 20, 2021
f11b117
[REF] depend on resource_work_time_from_contracts
huguesdk Oct 20, 2021
ae4bac2
[IMP] use list_normal_work_time_per_day()
huguesdk Nov 17, 2021
0b77b86
[FIX] extend overtime access to all superiors
victor-champonnois Feb 11, 2022
f824f59
[IMP] Prevent non-HR from modifying overtime
victor-champonnois Feb 11, 2022
08339c6
[REF] set has_overtime_access as private variable
victor-champonnois Feb 15, 2022
42a49bf
[REL] hr_timesheet_overtime 12.0.1.1.0
huguesdk Mar 20, 2022
2c4db6f
[IMP] use standard access rights
huguesdk May 11, 2022
e539522
[IMP] allow overtime sub-menuitems
huguesdk May 13, 2022
f3c5ddf
[FIX] Run pre-commit
carmenbianca May 16, 2022
ea965c9
[UPD] Update hr_timesheet_overtime.pot
May 16, 2022
cdcae71
[FIX] give access to employees' own total overtime
huguesdk May 20, 2022
b50ccea
[FIX] fix pre-commit errors
huguesdk May 20, 2022
ced94fb
[FIX] remove access rights on overtime fields
huguesdk May 20, 2022
02b34fd
[UPD] Update hr_timesheet_overtime.pot
May 26, 2022
d2b11e5
hr_timesheet_overtime 12.0.1.1.1
github-grap-bot May 26, 2022
3bc78ae
[REF] hr_timesheet_overtime: *_hours → *_time
carmenbianca May 18, 2022
839970b
[REF] hr_timesheet_overtime: Add working_time to sheet model
carmenbianca May 16, 2022
d77e678
[REF] hr_timesheet_overtime: Rename timesheet_overtime to timesheet_o…
carmenbianca May 16, 2022
943fb3a
[ADD] hr_timesheet_overtime: timesheet_overtime field
carmenbianca May 16, 2022
db0bb05
[ADD] hr_timesheet_overtime: Add working_time and timesheet_overtime …
carmenbianca May 18, 2022
5f34f38
[ADD] hr_timesheet_overtime: colour daily_overtime and total_overtime…
carmenbianca May 19, 2022
80e19e5
[ADD] hr_timesheet_overtime: Credit pro velo
carmenbianca Jun 3, 2022
75b94e9
[FIX] hr_timesheet_overtime: Use blue instead of green
carmenbianca Jun 15, 2022
d4ef334
[FIX] hr_timesheet_overtime: Use SavepointCase
carmenbianca Jun 3, 2022
7f619e9
hr_timesheet_overtime: Store computed values working_time and timeshe…
carmenbianca May 25, 2022
3df1ae3
[FIX] SCRLfs → SC
carmenbianca Jun 29, 2022
5f18277
[UPD] Update hr_timesheet_overtime.pot
Jul 20, 2022
5d8b83e
[UPD] README.rst
github-grap-bot Jul 20, 2022
498bc16
hr_timesheet_overtime 12.0.2.0.0
github-grap-bot Jul 20, 2022
65a2ed4
[IMP] hr_timesheet_overtime: black, isort, prettier
robinkeunen Jan 26, 2024
1f8a253
[MIG] hr_timesheet_overtime: migration to 13.0
robinkeunen Jan 26, 2024
7bf9baa
[MIG] hr_timesheet_overtime: migration to 16.0
robinkeunen Jan 26, 2024
ef78a5a
[MIG] hr_timesheet_overtime: remove type_id from demo data
robinkeunen Jan 26, 2024
4894c4d
[MIG] hr_timesheet_overtime: remove active button
robinkeunen Jan 26, 2024
1ddbf9a
[IMP] hr_timesheet_overtime: move timesheet sheets below timesheet pe…
robinkeunen Jan 26, 2024
3afa2f7
[ADD] hr_timesheet_overtime: test-requirements.txt
robinkeunen Feb 15, 2024
2be7e62
[FIX] Update copier template
carmenbianca Feb 15, 2024
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
15 changes: 9 additions & 6 deletions hr_timesheet_overtime/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
Timesheet/Contract - Overtime
=============================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
Expand All @@ -14,10 +17,10 @@ Timesheet/Contract - Overtime
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-coopiteasy%2Fcie--timesheet-lightgray.png?logo=github
:target: https://github.com/coopiteasy/cie-timesheet/tree/12.0/hr_timesheet_overtime
:target: https://github.com/coopiteasy/cie-timesheet/tree/16.0/hr_timesheet_overtime
:alt: coopiteasy/cie-timesheet

|badge1| |badge2| |badge3|
|badge1| |badge2| |badge3|

Computes overtime hours according to employee's contracts.

Expand All @@ -31,8 +34,8 @@ Bug Tracker

Bugs are tracked on `GitHub Issues <https://github.com/coopiteasy/cie-timesheet/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/coopiteasy/cie-timesheet/issues/new?body=module:%20hr_timesheet_overtime%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/coopiteasy/cie-timesheet/issues/new?body=module:%20hr_timesheet_overtime%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.

Expand Down Expand Up @@ -63,6 +66,6 @@ The development of this module has been paid for by
Maintainers
~~~~~~~~~~~

This module is part of the `coopiteasy/cie-timesheet <https://github.com/coopiteasy/cie-timesheet/tree/12.0/hr_timesheet_overtime>`_ project on GitHub.
This module is part of the `coopiteasy/cie-timesheet <https://github.com/coopiteasy/cie-timesheet/tree/16.0/hr_timesheet_overtime>`_ project on GitHub.

You are welcome to contribute.
2 changes: 1 addition & 1 deletion hr_timesheet_overtime/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"category": "Human Resources",
"summary": "Overtime Calculation",
"author": "Coop IT Easy SC, Odoo Community Association (OCA)",
"website": "https://coopiteasy.be",
"website": "https://github.com/coopiteasy/cie-timesheet",
"license": "AGPL-3",
"depends": [
"company_today",
Expand Down
2 changes: 1 addition & 1 deletion hr_timesheet_overtime/models/account_analytic_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
import logging

from odoo import api, fields, models
from odoo import fields, models

_logger = logging.getLogger(__name__)

Expand Down
5 changes: 1 addition & 4 deletions hr_timesheet_overtime/models/hr_employee.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,22 @@ class HrEmployee(models.Model):
help="Hours to work for the current day",
)
initial_overtime = fields.Float(
string="Initial Overtime",
default=0.0,
help="Initial Overtime to start Overtime Start Date with",
)
total_overtime = fields.Float(
string="Total Overtime",
compute="_compute_total_overtime",
help="Total Overtime since Overtime Start Date",
store=True,
)
timesheet_sheet_ids = fields.One2many(
string="Timesheet sheets",
comodel_name="hr_timesheet.sheet",
inverse_name="employee_id",
string="Timesheet sheets",
)

# Date fields
overtime_start_date = fields.Date(
string="Overtime Start Date",
required=True,
default=date.today().replace(month=1, day=1),
help="Overtime Start Date to compute overtime",
Expand Down
6 changes: 1 addition & 5 deletions hr_timesheet_overtime/models/hr_timesheet_sheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class HrTimesheetSheet(models.Model):
_inherit = "hr_timesheet.sheet"

active = fields.Boolean("Active", default=True)
active = fields.Boolean(default=True)
# Numeric fields
daily_working_time = fields.Float(
"Daily Working Hours",
Expand All @@ -26,25 +26,21 @@ class HrTimesheetSheet(models.Model):
store=True,
)
daily_overtime = fields.Float(
"Daily Overtime",
compute="_compute_daily_overtime",
help="Overtime for the current day",
)
timesheet_overtime = fields.Float(
"Timesheet Overtime",
compute="_compute_timesheet_overtime",
help="Overtime for this timesheet period",
store=True,
)
timesheet_overtime_trimmed = fields.Float(
"Trimmed Timesheet Overtime",
compute="_compute_timesheet_overtime_trimmed",
help="Overtime for this timesheet period, from the employee's start date until"
" today",
store=True,
)
total_overtime = fields.Float(
"Overtime Total",
related="employee_id.total_overtime",
help="Overtime total since employee's overtime start date",
)
Expand Down
6 changes: 3 additions & 3 deletions hr_timesheet_overtime/models/resource_overtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ class ResourceOvertime(models.Model):

# Relational fields
rate_ids = fields.One2many(
string="Overtime Rate",
comodel_name="resource.overtime.rate",
inverse_name="overtime_id",
string="Overtime Rate",
copy=True,
)
company_id = fields.Many2one(
"res.company",
string="Company",
comodel_name="res.company",
default=lambda self: self.env["res.company"]._company_default_get(),
)
manager = fields.Many2one(
"res.users",
string="Workgroup Manager",
comodel_name="res.users",
default=lambda self: self.env.uid,
)
6 changes: 3 additions & 3 deletions hr_timesheet_overtime/models/resource_overtime_rate.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ class ResourceOvertimeRate(models.Model):
# String fields
name = fields.Char(required=True)
dayofweek = fields.Selection(
[
string="Day of Week",
selection=[
("0", "Monday"),
("1", "Tuesday"),
("2", "Wednesday"),
Expand All @@ -21,13 +22,12 @@ class ResourceOvertimeRate(models.Model):
("5", "Saturday"),
("6", "Sunday"),
],
"Day of Week",
required=True,
index=True,
)

# Numeric fields
rate = fields.Float("Rate", default="1.00", digits=(3, 2))
rate = fields.Float(default="1.00", digits=(3, 2))
overtime_id = fields.Many2one(
"resource.overtime",
string="Resource's Overtime",
Expand Down
43 changes: 25 additions & 18 deletions hr_timesheet_overtime/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<title>Timesheet/Contract - Overtime</title>
<style type="text/css">

/*
:Author: David Goodger ([email protected])
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Copyright: This stylesheet has been placed in the public domain.

Default cascading style sheet for the HTML output of Docutils.

See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/

Expand Down Expand Up @@ -366,39 +365,42 @@ <h1 class="title">Timesheet/Contract - Overtime</h1>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:864f762c46f2380ae49c8c705bd419243ee57a30b935ef491a26df7837f119d4
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/coopiteasy/cie-timesheet/tree/12.0/hr_timesheet_overtime"><img alt="coopiteasy/cie-timesheet" src="https://img.shields.io/badge/github-coopiteasy%2Fcie--timesheet-lightgray.png?logo=github" /></a></p>
<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/coopiteasy/cie-timesheet/tree/16.0/hr_timesheet_overtime"><img alt="coopiteasy/cie-timesheet" src="https://img.shields.io/badge/github-coopiteasy%2Fcie--timesheet-lightgray.png?logo=github" /></a></p>
<p>Computes overtime hours according to employee’s contracts.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#bug-tracker" id="id1">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id2">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id3">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id4">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id5">Maintainers</a></li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-1">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-2">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-3">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-4">Contributors</a></li>
<li><a class="reference internal" href="#other-credits" id="toc-entry-5">Other credits</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-6">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#id1">Bug Tracker</a></h1>
<h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/coopiteasy/cie-timesheet/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/coopiteasy/cie-timesheet/issues/new?body=module:%20hr_timesheet_overtime%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/coopiteasy/cie-timesheet/issues/new?body=module:%20hr_timesheet_overtime%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#id2">Credits</a></h1>
<h1><a class="toc-backref" href="#toc-entry-2">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#id3">Authors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-3">Authors</a></h2>
<ul class="simple">
<li>Coop IT Easy SC</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#id4">Contributors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
<ul class="simple">
<li><a class="reference external" href="https://coopiteasy.be">Coop IT Easy SC</a>:<ul>
<li>Vincent Van Rossem</li>
Expand All @@ -409,9 +411,14 @@ <h2><a class="toc-backref" href="#id4">Contributors</a></h2>
</li>
</ul>
</div>
<div class="section" id="other-credits">
<h2><a class="toc-backref" href="#toc-entry-5">Other credits</a></h2>
<p>The development of this module has been paid for by
<a class="reference external" href="https://www.provelo.org/">Pro Velo</a>.</p>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#id5">Maintainers</a></h2>
<p>This module is part of the <a class="reference external" href="https://github.com/coopiteasy/cie-timesheet/tree/12.0/hr_timesheet_overtime">coopiteasy/cie-timesheet</a> project on GitHub.</p>
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
<p>This module is part of the <a class="reference external" href="https://github.com/coopiteasy/cie-timesheet/tree/16.0/hr_timesheet_overtime">coopiteasy/cie-timesheet</a> project on GitHub.</p>
<p>You are welcome to contribute.</p>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions hr_timesheet_overtime/views/resource_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<field name="name">resource.overtime.tree</field>
<field name="model">resource.overtime</field>
<field name="arch" type="xml">
<tree string="Overtime Rate">
<tree>
carmenbianca marked this conversation as resolved.
Show resolved Hide resolved
<field name="name" />
<field name="manager" />
<field name="company_id" groups="base.group_multi_company" />
Expand All @@ -63,7 +63,7 @@
<field name="name">resource.overtime.rate.tree</field>
<field name="model">resource.overtime.rate</field>
<field name="arch" type="xml">
<tree string="Overtime Rate" editable="top">
<tree editable="top">
carmenbianca marked this conversation as resolved.
Show resolved Hide resolved
<field name="name" />
<field name="dayofweek" />
<field name="rate" />
Expand Down
6 changes: 6 additions & 0 deletions setup/hr_timesheet_overtime/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)