Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
70fa1f4
[ADD] helpdesk_mgmt_timesheet: original files from PR #121
dalonsod Jul 28, 2020
b0dd23c
[ADD] icon.png
OCA-git-bot Aug 22, 2020
304e131
helpdesk_mgmt_timesheet 12.0.1.1.0
OCA-git-bot Aug 22, 2020
9e648ba
[IMP] helpdesk_mgmt_timesheet: black, isort
Aug 23, 2020
30ac1ef
[MIG] helpdesk_mgmt_timesheet: Migration to 13.0
Aug 23, 2020
e8a379a
[UPD] Update helpdesk_mgmt_timesheet.pot
oca-travis Aug 24, 2020
5d8aa33
[UPD] README.rst
OCA-git-bot Aug 24, 2020
55c0e89
Translated using Weblate (Spanish)
dalonsod Aug 24, 2020
7c8e64a
[FIX] Helpdesk Management Timesheet
gdgellatly Oct 19, 2020
1d1fc07
helpdesk_mgmt_timesheet 13.0.1.0.1
OCA-git-bot Oct 21, 2020
85ceef9
[UPD] Update helpdesk_mgmt_timesheet.pot
oca-travis Dec 15, 2020
62526c3
Update translation files
oca-transbot Dec 15, 2020
75d003f
[13.0][FIX] Names in pages is necesary to inherit
Jan 4, 2021
d555585
[IMP] helpdesk_mgmt_timesheet: filter tickets with activity on timesh…
dalonsod Feb 11, 2021
caea630
Added translation using Weblate (Hungarian)
tdombos Apr 16, 2021
82e499a
Translated using Weblate (Hungarian)
tdombos Apr 16, 2021
51a5c44
helpdesk_mgmt_timesheet 13.0.1.0.2
OCA-git-bot Apr 27, 2021
45a4064
[UPD] Update helpdesk_mgmt_timesheet.pot
oca-travis Apr 27, 2021
fe00f71
Update translation files
oca-transbot Apr 27, 2021
114ae3d
[13.0][FIX]helpdesk_mgmt_timesheet: default_project not a field in he…
manuelregidor May 6, 2021
3b380e0
helpdesk_mgmt_timesheet 13.0.1.0.3
OCA-git-bot May 26, 2021
5f7efec
helpdesk_mgmt_timesheet 13.0.1.1.0
OCA-git-bot Jul 28, 2021
fc93cc3
[IMP] helpdesk_mgmt_timesheet: black, isort, prettier
Aug 18, 2021
3ee9250
[MIG] helpdesk_mgmt_timesheet: Migration to 14.0
Aug 18, 2021
e56ca52
[IMP] Merge helpdesk_mgmt_timeheet_time_control
Aug 18, 2021
68d396d
[MIG] helpdesk_mgmt_timesheet: Migration to 14.0
Aug 18, 2021
0afcf2e
[UPD] Update helpdesk_mgmt_timesheet.pot
oca-travis Sep 2, 2021
891c698
[UPD] README.rst
OCA-git-bot Sep 2, 2021
f2cf8ae
Added translation using Weblate (Spanish (Argentina))
ibuioli Sep 11, 2021
69c8565
Translated using Weblate (Spanish (Argentina))
ibuioli Sep 12, 2021
53ebaf6
[FIX] helpdesk_mgmt: remove obsolete 'view_type'
MiquelRForgeFlow Feb 25, 2022
9c5902e
helpdesk_mgmt_timesheet 14.0.1.0.1
OCA-git-bot Feb 25, 2022
d1b3cf3
Added translation using Weblate (Italian)
francesco-ooops Mar 24, 2022
4c5cdaa
Translated using Weblate (Italian)
SicurSam Mar 25, 2022
840130e
Translated using Weblate (Italian)
francesco-ooops Mar 25, 2022
83df5d8
Added translation using Weblate (French)
remi-filament May 31, 2022
1652ecd
Translated using Weblate (French)
remi-filament May 31, 2022
bd6854a
Translated using Weblate (Italian)
francesco-ooops Jan 3, 2023
f2479d8
Translated using Weblate (Italian)
francesco-ooops Feb 1, 2023
19f1e4f
Added translation using Weblate (Portuguese (Brazil))
douglascstd Mar 14, 2023
013c08c
Translated using Weblate (Portuguese (Brazil))
douglascstd Mar 14, 2023
7805e46
[MIG] helpdesk_mgmt_timesheet: Migration 16.0
Jul 4, 2023
75c06c0
[UPD] Update helpdesk_mgmt_timesheet.pot
Aug 3, 2023
b90f222
[UPD] README.rst
OCA-git-bot Aug 3, 2023
fbca16a
Translated using Weblate (Spanish)
moitabenfdz Aug 7, 2023
b8fde8b
[FIX] helpdesk_mgmt_timesheet: wrong variable on report
Aug 21, 2023
0f3fa36
[UPD] README.rst
OCA-git-bot Sep 3, 2023
6eca801
[FIX] helpdesk_mgmt_timesheet: Ticket submit broken
ypapouin May 10, 2023
86d3023
Update translation files
weblate Oct 9, 2023
fdb674f
Translated using Weblate (Italian)
mymage Oct 10, 2023
7c2cd12
Translated using Weblate (Spanish)
Ivorra78 Oct 12, 2023
3652c3c
[BOT] post-merge updates
OCA-git-bot Oct 12, 2023
14fd3ed
Translated using Weblate (Portuguese (Brazil))
adrianojprado Oct 31, 2023
94d5168
Translated using Weblate (Italian)
mymage Dec 4, 2023
1aaa7e9
[BOT] post-merge updates
OCA-git-bot Dec 24, 2023
1d62d8a
Translated using Weblate (Italian)
mymage Dec 27, 2023
9cbeda9
[FIX] helpdesk_mgmt_timesheet: add group on show_time_control
vincent-hatakeyama Feb 29, 2024
1f07861
Translated using Weblate (French)
vincent-hatakeyama Feb 29, 2024
783346d
[BOT] post-merge updates
OCA-git-bot Feb 29, 2024
d231d07
Added translation using Weblate (Portuguese)
peterromao Feb 29, 2024
b92176d
Translated using Weblate (Portuguese)
peterromao Feb 29, 2024
1dae880
[IMP] helpdesk_mgmt_timesheet: add optional ticket field in view
SergiCForgeFlow Jun 29, 2023
2e9eacf
[IMP] helpdesk_mgmt_timesheet: add avatar widget
Sep 6, 2023
64e90f2
Translated using Weblate (Italian)
mymage Apr 10, 2024
13491e1
Translated using Weblate (Italian)
mymage Apr 29, 2024
3460ac8
[FIX] remove duplicate field 'default_project_id'
JoanRibotAE May 8, 2024
4ae561e
[UPD] Update helpdesk_mgmt_timesheet.pot
May 13, 2024
6378429
[BOT] post-merge updates
OCA-git-bot May 13, 2024
2f729ea
Update translation files
weblate May 13, 2024
ac062e6
[BOT] post-merge updates
OCA-git-bot Jun 5, 2024
a30e5ae
[FIX]helpdesk_mgmt_timesheet: add proper import to trigger the proper…
flotho Jun 11, 2024
92e497a
[UPD] Update helpdesk_mgmt_timesheet.pot
Jun 12, 2024
2a9a338
[BOT] post-merge updates
OCA-git-bot Jun 12, 2024
57bdbc8
Update translation files
weblate Jun 12, 2024
9a3b489
Translated using Weblate (Italian)
mymage Jun 12, 2024
dcef6a8
[IMP] helpdesk_mgmt_timesheet: Name not required when adding helpdesk…
carolinafernandez-tecnativa Jul 2, 2024
9c0831d
[BOT] post-merge updates
OCA-git-bot Jul 2, 2024
91cd3e7
[FIX] helpdesk_mgmt_timesheet: Remove field access restriction
carolinafernandez-tecnativa Jul 3, 2024
a2bbdb4
[BOT] post-merge updates
OCA-git-bot Jul 4, 2024
49e0344
Translated using Weblate (Portuguese (Brazil))
SottomaiorMacedoTec Jul 5, 2024
20e175f
[16.0][FIX] helpdesk_mgmt_timesheet: allow_timesheet accessible from …
sergiocorato Sep 16, 2024
0e7de2e
Added translation using Weblate (Swedish)
jakobkrabbe Sep 25, 2024
416f3c7
[BOT] post-merge updates
OCA-git-bot Sep 25, 2024
27f9e9d
Translated using Weblate (Swedish)
jakobkrabbe Sep 26, 2024
a6f23fd
[FIX] helpdesk_mgmt_timesheet: Apply the required attrs to the projec…
victoralmau Sep 27, 2024
947a9a5
[BOT] post-merge updates
OCA-git-bot Sep 30, 2024
8af325f
[IMP] helpdesk_mgmt_timesheet: Improve buttons format
etobella Oct 7, 2024
b9793a1
[UPD] Update helpdesk_mgmt_timesheet.pot
Oct 7, 2024
260aa4d
[BOT] post-merge updates
OCA-git-bot Oct 7, 2024
1593fb7
Update translation files
weblate Oct 7, 2024
7664a92
Translated using Weblate (Italian)
mymage Oct 10, 2024
6957416
Translated using Weblate (Italian)
mymage Oct 17, 2024
c927838
Translated using Weblate (Portuguese (Brazil))
SottomaiorMacedoTec Nov 13, 2024
7b40932
Translated using Weblate (Italian)
mymage Jan 20, 2025
c2d08f3
[IMP] helpdesk_mgmt_timesheet: pre-commit auto fixes
ArnauCForgeFlow Feb 13, 2025
9444b2b
[MIG] helpdesk_mgmt_timesheet: Migration to 17.0
ArnauCForgeFlow Feb 13, 2025
6a7e9e9
[UPD] Update helpdesk_mgmt_timesheet.pot
Apr 11, 2025
d75e673
[BOT] post-merge updates
OCA-git-bot Apr 11, 2025
ab5f48d
[FIX] helpdesk_mgmt_timesheet: Fix error when see timesheets reports
Apr 24, 2025
6015793
[UPD] Update helpdesk_mgmt_timesheet.pot
Apr 25, 2025
4e8522f
[BOT] post-merge updates
OCA-git-bot Apr 25, 2025
98dfbd1
Update translation files
weblate Apr 25, 2025
f0361fa
Translated using Weblate (Italian)
mymage Apr 28, 2025
91f56cf
[IMP] helpdesk_mgmt_timesheet: fix keyerror 'active_model'
lbarry-apsl Apr 3, 2025
0ff5bc1
[BOT] post-merge updates
OCA-git-bot May 8, 2025
6cc8750
[MIG] helpdesk_mgmt_timesheet: Migration to 18.0
ByteMeAsap May 30, 2025
a5e3cda
[UPD] Update helpdesk_mgmt_timesheet.pot
Jun 4, 2025
6a9c614
[BOT] post-merge updates
OCA-git-bot Jun 4, 2025
ada6a17
[FIX] helpdesk_mgmt_timesheet: Update invisible attribute to column_i…
ByteMeAsap Jul 2, 2025
a9cbe44
[BOT] post-merge updates
OCA-git-bot Jul 2, 2025
45766cf
[FIX] helpdesk_mgmt_timesheet: Remove show_time_control field from th…
victoralmau Jul 4, 2025
970f2c2
[BOT] post-merge updates
OCA-git-bot Jul 4, 2025
b58ee39
Added translation using Weblate (Turkish)
bo-eska Dec 1, 2025
a47fc96
[IMP] helpdesk_mgmt_timesheet: Allow to show timesheet on portal
etobella Oct 2, 2025
e68d488
[UPD] Update helpdesk_mgmt_timesheet.pot
Dec 31, 2025
2d85381
[BOT] post-merge updates
OCA-git-bot Dec 31, 2025
a94cf5c
Update translation files
weblate Dec 31, 2025
4d08ae4
Translated using Weblate (Italian)
mymage Jan 5, 2026
50c5fb5
[FIX] helpdesk_mgmt_timesheet: access error to team_id
christian-ramos-tecnativa Jan 9, 2026
ee7311b
[BOT] post-merge updates
OCA-git-bot Jan 9, 2026
28cc13e
Translated using Weblate (Turkish)
bo-eska Jan 22, 2026
4cfff65
[FIX] helpdesk_mgmt_timesheet: Fix With activity today filter
christian-ramos-tecnativa Jan 26, 2026
97befa8
[BOT] post-merge updates
OCA-git-bot Jan 27, 2026
65ffffd
[18.0][IMP] helpdesk_mgmt_timesheet: optional in treeview
andreampiovesana Mar 6, 2026
80b3a99
[BOT] post-merge updates
OCA-git-bot Mar 6, 2026
0a0479f
Translated using Weblate (French)
remi-filament Mar 16, 2026
e9f9698
Translated using Weblate (Spanish)
percevaq Apr 7, 2026
d9ebae4
[MIG] helpdesk_mgmt_timesheet: Migration to 19.0
May 8, 2026
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
133 changes: 133 additions & 0 deletions helpdesk_mgmt_timesheet/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=========================
Helpdesk Ticket Timesheet
=========================

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

.. |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/license-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%2Fhelpdesk-lightgray.png?logo=github
:target: https://github.com/OCA/helpdesk/tree/19.0/helpdesk_mgmt_timesheet
:alt: OCA/helpdesk
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/helpdesk-19-0/helpdesk-19-0-helpdesk_mgmt_timesheet
: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/helpdesk&target_branch=19.0
:alt: Try me on Runboat

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

This module adds Timesheet funcionality in Helpdesk module.

**Table of contents**

.. contents::
:local:

Configuration
=============

To configure this module, you need to:

1. Allow Timesheet for a Helpdesk's Team
2. Set a Default Project (optional)

Allow Timesheet
---------------

1. Go to Helpdesk > Configuration > Teams.
2. Edit or create a new team.
3. Check Allow Timesheet option to allow timesheets for that team.
4. Select a Project for that team (optional).

Usage
=====

1. Go to *Helpdesk* or *Helpdesk > Dashboard* to see the tickets
dashboard.
2. In the Kanban view, click in the kanban card of a team to see their
tickets and create new ones.
3. If there is not a Default Project you will need select a Project for
the Ticket to show the Timesheet Table.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/helpdesk/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/helpdesk/issues/new?body=module:%20helpdesk_mgmt_timesheet%0Aversion:%2019.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
-------

* Aresoltec Canarias
* Punt Sistemes
* SDi Soluciones Digitales
* Solvos

Contributors
------------

- `Aresoltec Canarias, S.L <https://www.aresoltec.com>`__:

- Inma Sánchez

- `SDi Soluciones, S.L. <https://www.sdi.es>`__:

- Oscar Soto
- Jorge Luis Quinteros

- `Punt Sistemes, S.L. <https://www.puntsistemes.es/>`__:

- Carlos Ramos

- `Solvos Consultoría Informática, S.L. <https://www.solvos.es/>`__:

- David Alonso

- `Guadaltech Soluciones Tecnológicas,
S.L. <https://www.guadaltech.es/>`__:

- Fernando La Chica <fernandolachica@gmail.com>

- `APSL-Nagarro <https://www.apsl.tech>`__:

- Antoni Marroig <amarroig@apsl.net>

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/helpdesk <https://github.com/OCA/helpdesk/tree/19.0/helpdesk_mgmt_timesheet>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
7 changes: 7 additions & 0 deletions helpdesk_mgmt_timesheet/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
###############################################################################
# For copyright and license notices, see __manifest__.py file in root directory
###############################################################################
from . import models
from . import controllers
from . import wizards
from . import report
33 changes: 33 additions & 0 deletions helpdesk_mgmt_timesheet/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright (C) 2020 Aresoltec Canarias <www.aresoltec.com>
# Copyright (C) 2020 Punt Sistemes <www.puntsistemes.es.es>
# Copyright (C) 2020 SDi Soluciones Digitales <www.sdi.es>
# Copyright (C) 2020 Solvos Consultoría Informática <www.solvos.es>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Helpdesk Ticket Timesheet",
"summary": "Add HR Timesheet to the tickets for Helpdesk Management.",
"author": "Aresoltec Canarias, "
"Punt Sistemes, "
"SDi Soluciones Digitales, "
"Solvos, "
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/helpdesk",
"license": "AGPL-3",
"category": "After-Sales",
"version": "19.0.1.0.0",
"depends": [
"helpdesk_mgmt_project",
"hr_timesheet",
"hr_timesheet_time_control",
],
"data": [
"views/helpdesk_ticket_templates.xml",
"views/helpdesk_team_view.xml",
"views/helpdesk_ticket_view.xml",
"views/hr_timesheet_view.xml",
"views/helpdesk_project_task_view.xml",
"report/report_timesheet_templates.xml",
],
"demo": ["demo/helpdesk_mgmt_timesheet_demo.xml"],
}
1 change: 1 addition & 0 deletions helpdesk_mgmt_timesheet/controllers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import main
17 changes: 17 additions & 0 deletions helpdesk_mgmt_timesheet/controllers/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2023 ForgeFlow S.L. (https://www.forgeflow.com)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

import odoo.http as http

from odoo.addons.helpdesk_mgmt.controllers.main import HelpdeskTicketController


class CustomHelpdeskTicketController(HelpdeskTicketController):
def _prepare_submit_ticket_vals(self, **kw):
vals = super()._prepare_submit_ticket_vals(**kw)
team = (
http.request.env["helpdesk.ticket.team"].sudo().browse(vals.get("team_id"))
)
if team.default_project_id and not vals.get("project_id"):
vals["project_id"] = team.default_project_id.id
return vals
36 changes: 36 additions & 0 deletions helpdesk_mgmt_timesheet/demo/helpdesk_mgmt_timesheet_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="project_1" model="project.project">
<field name="name">Helpdesk general project</field>
</record>
<record id="project_task_1" model="project.task">
<field name="name">Helpdesk general task</field>
<field name="project_id" ref="project_1" />
</record>
<record id="helpdesk_mgmt.helpdesk_team_2" model="helpdesk.ticket.team">
<field name="allow_timesheet" eval="True" />
<field name="default_project_id" ref="project_1" />
</record>
<record id="helpdesk_mgmt.helpdesk_ticket_1" model="helpdesk.ticket">
<field name="team_id" ref="helpdesk_mgmt.helpdesk_team_2" />
<field name="project_id" ref="project_1" />
<field name="task_id" ref="project_task_1" />
<field name="planned_hours" eval="5" />
</record>
<record id="helpdesk_ticket_1_timesheet_1" model="account.analytic.line">
<field name="ticket_id" ref="helpdesk_mgmt.helpdesk_ticket_1" />
<field name="name">Initial analysis</field>
<field name="user_id" ref='base.user_admin' />
<field name="project_id" ref="project_1" />
<field name="task_id" ref="project_task_1" />
<field name="unit_amount" eval="2.5" />
</record>
<record id="helpdesk_ticket_1_timesheet_2" model="account.analytic.line">
<field name="ticket_id" ref="helpdesk_mgmt.helpdesk_ticket_1" />
<field name="name">Resolution</field>
<field name="user_id" ref='base.user_admin' />
<field name="project_id" ref="project_1" />
<field name="task_id" ref="project_task_1" />
<field name="unit_amount" eval="2" />
</record>
</odoo>
Loading
Loading