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

[17.0][MIG] helpdesk_mgmt_timesheet: Migration to 17.0 #695

Open
wants to merge 96 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
e984d33
[ADD] helpdesk_mgmt_timesheet: original files from PR #121
dalonsod Jul 28, 2020
8fc0286
[ADD] icon.png
OCA-git-bot Aug 22, 2020
87c7415
helpdesk_mgmt_timesheet 12.0.1.1.0
OCA-git-bot Aug 22, 2020
005ebb1
[IMP] helpdesk_mgmt_timesheet: black, isort
Aug 23, 2020
a4c3539
[MIG] helpdesk_mgmt_timesheet: Migration to 13.0
Aug 23, 2020
109c1da
[UPD] Update helpdesk_mgmt_timesheet.pot
oca-travis Aug 24, 2020
d9d3381
[UPD] README.rst
OCA-git-bot Aug 24, 2020
72e8502
Translated using Weblate (Spanish)
dalonsod Aug 24, 2020
8959039
[FIX] Helpdesk Management Timesheet
gdgellatly Oct 19, 2020
2d7a79f
helpdesk_mgmt_timesheet 13.0.1.0.1
OCA-git-bot Oct 21, 2020
e60560e
[UPD] Update helpdesk_mgmt_timesheet.pot
oca-travis Dec 15, 2020
64be2c7
Update translation files
oca-transbot Dec 15, 2020
887c3b1
[13.0][FIX] Names in pages is necesary to inherit
Jan 4, 2021
8dacb7a
[IMP] helpdesk_mgmt_timesheet: filter tickets with activity on timesh…
dalonsod Feb 11, 2021
8dcaf44
Added translation using Weblate (Hungarian)
tdombos Apr 16, 2021
d6e9380
Translated using Weblate (Hungarian)
tdombos Apr 16, 2021
bb407ed
helpdesk_mgmt_timesheet 13.0.1.0.2
OCA-git-bot Apr 27, 2021
bef2eaf
[UPD] Update helpdesk_mgmt_timesheet.pot
oca-travis Apr 27, 2021
3615b3b
Update translation files
oca-transbot Apr 27, 2021
463e300
[13.0][FIX]helpdesk_mgmt_timesheet: default_project not a field in he…
manuelregidor May 6, 2021
bc4d213
helpdesk_mgmt_timesheet 13.0.1.0.3
OCA-git-bot May 26, 2021
051c22c
helpdesk_mgmt_timesheet 13.0.1.1.0
OCA-git-bot Jul 28, 2021
112ee62
[IMP] helpdesk_mgmt_timesheet: black, isort, prettier
Aug 18, 2021
9643cd5
[MIG] helpdesk_mgmt_timesheet: Migration to 14.0
Aug 18, 2021
aaa4a37
[IMP] Merge helpdesk_mgmt_timeheet_time_control
Aug 18, 2021
82f8f77
[MIG] helpdesk_mgmt_timesheet: Migration to 14.0
Aug 18, 2021
c699ee3
[UPD] Update helpdesk_mgmt_timesheet.pot
oca-travis Sep 2, 2021
ac1608f
[UPD] README.rst
OCA-git-bot Sep 2, 2021
b21d571
Added translation using Weblate (Spanish (Argentina))
ibuioli Sep 11, 2021
1889cb3
Translated using Weblate (Spanish (Argentina))
ibuioli Sep 12, 2021
4eceb6b
[FIX] helpdesk_mgmt: remove obsolete 'view_type'
MiquelRForgeFlow Feb 25, 2022
f99dbdd
helpdesk_mgmt_timesheet 14.0.1.0.1
OCA-git-bot Feb 25, 2022
c3279c4
Added translation using Weblate (Italian)
francesco-ooops Mar 24, 2022
9bb37fc
Translated using Weblate (Italian)
SicurSam Mar 25, 2022
24e9bbf
Translated using Weblate (Italian)
francesco-ooops Mar 25, 2022
e4c69d3
Added translation using Weblate (French)
remi-filament May 31, 2022
cfc390b
Translated using Weblate (French)
remi-filament May 31, 2022
a74916d
Translated using Weblate (Italian)
francesco-ooops Jan 3, 2023
fdc1dbb
Translated using Weblate (Italian)
francesco-ooops Feb 1, 2023
13f240b
Added translation using Weblate (Portuguese (Brazil))
douglascstd Mar 14, 2023
eeca992
Translated using Weblate (Portuguese (Brazil))
douglascstd Mar 14, 2023
e3e3de3
[MIG] helpdesk_mgmt_timesheet: Migration 16.0
Jul 4, 2023
6fb6b7f
[UPD] Update helpdesk_mgmt_timesheet.pot
Aug 3, 2023
a9421e4
[UPD] README.rst
OCA-git-bot Aug 3, 2023
cf56fe1
Translated using Weblate (Spanish)
moitabenfdz Aug 7, 2023
0b57ba9
[FIX] helpdesk_mgmt_timesheet: wrong variable on report
Christian-RB Aug 21, 2023
72af587
[UPD] README.rst
OCA-git-bot Sep 3, 2023
cde4013
[FIX] helpdesk_mgmt_timesheet: Ticket submit broken
ypapouin May 10, 2023
559b5e4
Update translation files
weblate Oct 9, 2023
83f4166
Translated using Weblate (Italian)
mymage Oct 10, 2023
5e82c67
Translated using Weblate (Spanish)
Ivorra78 Oct 12, 2023
de48c58
[BOT] post-merge updates
OCA-git-bot Oct 12, 2023
6cbe85e
Translated using Weblate (Portuguese (Brazil))
adrianojprado Oct 31, 2023
83e218b
Translated using Weblate (Italian)
mymage Dec 4, 2023
487e8ec
[BOT] post-merge updates
OCA-git-bot Dec 24, 2023
7a6d4ca
Translated using Weblate (Italian)
mymage Dec 27, 2023
509b6ae
[FIX] helpdesk_mgmt_timesheet: add group on show_time_control
vincent-hatakeyama Feb 29, 2024
0ccdbca
Translated using Weblate (French)
vincent-hatakeyama Feb 29, 2024
b9bf1b9
[BOT] post-merge updates
OCA-git-bot Feb 29, 2024
aed04d0
Added translation using Weblate (Portuguese)
peterromao Feb 29, 2024
bc09237
Translated using Weblate (Portuguese)
peterromao Feb 29, 2024
6da2dc0
[IMP] helpdesk_mgmt_timesheet: add optional ticket field in view
SergiCForgeFlow Jun 29, 2023
ed2d2aa
[IMP] helpdesk_mgmt_timesheet: add avatar widget
Sep 6, 2023
ea42cf8
Translated using Weblate (Italian)
mymage Apr 10, 2024
e648012
Translated using Weblate (Italian)
mymage Apr 29, 2024
ae7d947
[FIX] remove duplicate field 'default_project_id'
JoanRibotAE May 8, 2024
b65a94a
[UPD] Update helpdesk_mgmt_timesheet.pot
May 13, 2024
5292aa9
[BOT] post-merge updates
OCA-git-bot May 13, 2024
8c5506f
Update translation files
weblate May 13, 2024
66bf5c6
[BOT] post-merge updates
OCA-git-bot Jun 5, 2024
14bdd68
[FIX]helpdesk_mgmt_timesheet: add proper import to trigger the proper…
flotho Jun 11, 2024
21b9bb7
[UPD] Update helpdesk_mgmt_timesheet.pot
Jun 12, 2024
7d97c21
[BOT] post-merge updates
OCA-git-bot Jun 12, 2024
73235b1
Update translation files
weblate Jun 12, 2024
2130829
Translated using Weblate (Italian)
mymage Jun 12, 2024
989dd3b
[IMP] helpdesk_mgmt_timesheet: Name not required when adding helpdesk…
carolinafernandez-tecnativa Jul 2, 2024
59bd30f
[BOT] post-merge updates
OCA-git-bot Jul 2, 2024
f1bfdc4
[FIX] helpdesk_mgmt_timesheet: Remove field access restriction
carolinafernandez-tecnativa Jul 3, 2024
cd3c0aa
[BOT] post-merge updates
OCA-git-bot Jul 4, 2024
4106491
Translated using Weblate (Portuguese (Brazil))
SottomaiorMacedoTec Jul 5, 2024
3f37666
[16.0][FIX] helpdesk_mgmt_timesheet: allow_timesheet accessible from …
sergiocorato Sep 16, 2024
9b594fd
Added translation using Weblate (Swedish)
jakobkrabbe Sep 25, 2024
bd4479d
[BOT] post-merge updates
OCA-git-bot Sep 25, 2024
c947af5
Translated using Weblate (Swedish)
jakobkrabbe Sep 26, 2024
6833230
[FIX] helpdesk_mgmt_timesheet: Apply the required attrs to the projec…
victoralmau Sep 27, 2024
2fbd49f
[BOT] post-merge updates
OCA-git-bot Sep 30, 2024
0366efc
[IMP] helpdesk_mgmt_timesheet: Improve buttons format
etobella Oct 7, 2024
3152e3a
[UPD] Update helpdesk_mgmt_timesheet.pot
Oct 7, 2024
77afa65
[BOT] post-merge updates
OCA-git-bot Oct 7, 2024
13018aa
Update translation files
weblate Oct 7, 2024
1efd77d
Translated using Weblate (Italian)
mymage Oct 10, 2024
51f448f
Translated using Weblate (Italian)
mymage Oct 17, 2024
090ce54
Translated using Weblate (Portuguese (Brazil))
SottomaiorMacedoTec Nov 13, 2024
17149a4
Translated using Weblate (Italian)
mymage Jan 20, 2025
a58989e
[IMP] helpdesk_mgmt_timesheet: pre-commit auto fixes
ArnauCForgeFlow Feb 13, 2025
6b88079
[MIG] helpdesk_mgmt_timesheet: Migration to 17.0
ArnauCForgeFlow Feb 13, 2025
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
125 changes: 125 additions & 0 deletions helpdesk_mgmt_timesheet/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
=========================
Helpdesk Ticket Timesheet
=========================

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

.. |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%2Fhelpdesk-lightgray.png?logo=github
:target: https://github.com/OCA/helpdesk/tree/17.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-17-0/helpdesk-17-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=17.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:%2017.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 <[email protected]>

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/17.0/helpdesk_mgmt_timesheet>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
6 changes: 6 additions & 0 deletions helpdesk_mgmt_timesheet/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
###############################################################################
# For copyright and license notices, see __manifest__.py file in root directory
###############################################################################
from . import models
from . import controllers
from . import wizards
32 changes: 32 additions & 0 deletions helpdesk_mgmt_timesheet/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 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": "17.0.1.0.0",
"depends": [
"helpdesk_mgmt_project",
"hr_timesheet",
"project_timesheet_time_control",
],
"data": [
"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