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

[18.0][MIG] crm_timesheet #733

Open
wants to merge 34 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
2d31175
[ADD] crm_timesheet
Aug 21, 2015
acc2031
[MIG] crm_timesheet: Migration 10.0
chienandalu Jun 16, 2017
539bcf8
[IMP] crm_timesheet: Better layout
pedrobaeza Aug 17, 2017
f36a65f
[IMP] crm_timesheet: Handle better project/analytic account duality
pedrobaeza Aug 17, 2017
648cb12
[FIX][crm_timesheet] Do not restrict project
yajo Aug 31, 2017
ebd2d1d
[IMP] crm_timesheet: Use projects
pedrobaeza Oct 18, 2017
a04150a
[MIG] crm_timesheet: Migration to 11.0
cubells Jun 19, 2018
61fb035
[IMP] crm_timesheet: Improve views:
pedrobaeza Jan 24, 2019
3ab0ff7
[12.0] crm_timesheet: Migration to 12.0
Mar 21, 2019
d01dd56
[IMP] crm_timesheet: ❤️ 4 UX
yajo Oct 10, 2019
68ae6de
[IMP] crm_timesheet: Tell the user no running line was found
yajo Oct 15, 2019
c74b256
[IMP] project_timesheet_time_control: Refactor with mixin
yajo Oct 15, 2019
dd0b9bc
[IMP] crm_timesheet: black, isort, prettier
pedrobaeza Sep 26, 2020
07c7c6e
[MIG] crm_timesheet: Migration to 13.0
pedrobaeza Sep 26, 2020
196071e
[IMP] crm_timesheet: Black, isort, prettier.
fshah-initos Mar 15, 2021
7251cc3
[MIG] Migrate module crm_timesheet to v14.
hkapatel-initos Mar 15, 2021
10e6a3a
[MIG] crm_timesheet: Migration to 15.0
Nov 21, 2022
04a385c
[MIG] crm_timesheet: Migration to 16.0
carolinafernandez-tecnativa Sep 25, 2023
f2cb046
[UPD] Update crm_timesheet.pot
Sep 27, 2023
c8a2c7e
[BOT] post-merge updates
OCA-git-bot Sep 27, 2023
e8de4a8
Update translation files
weblate Oct 10, 2023
64b8c59
Update translation files
weblate Oct 10, 2023
3f39b80
Translated using Weblate (Italian)
mymage Oct 13, 2023
1ed8ba5
Translated using Weblate (Spanish)
Ivorra78 Oct 15, 2023
74255dc
Translated using Weblate (Portuguese (Brazil))
adrianojprado Oct 27, 2023
6cce5ce
[IMP]crm_timesheet: Make lead optionnal
flotho Jun 4, 2024
f4bfa7b
[BOT] post-merge updates
OCA-git-bot Jul 1, 2024
186f773
[IMP] crm_timesheet: pre-commit auto fixes
Jul 26, 2024
f076aa3
[MIG] crm_timesheet: Migration to 17.0
Jul 29, 2024
ca2cd5f
[UPD] Update crm_timesheet.pot
Aug 1, 2024
4fb7665
[BOT] post-merge updates
OCA-git-bot Aug 1, 2024
72b7431
[IMP] crm_timesheet: pre-commit auto fixes
jdebetaz Jan 15, 2025
de83642
[MIG] crm_timesheet: Migration to 18.0
jdebetaz Jan 15, 2025
f557ad4
[MIG] crm_timesheet: Migration to 18.0
jdebetaz Jan 15, 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
106 changes: 106 additions & 0 deletions crm_timesheet/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
=============
CRM Timesheet
=============

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

.. |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%2Ftimesheet-lightgray.png?logo=github
:target: https://github.com/OCA/timesheet/tree/18.0/crm_timesheet
:alt: OCA/timesheet
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/timesheet-18-0/timesheet-18-0-crm_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/timesheet&target_branch=18.0
:alt: Try me on Runboat

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

This module allows to generate timesheets from leads/opportunities.

**Table of contents**

.. contents::
:local:

Usage
=====

- In pipeline/lead forms you have Timesheet tab.

Known issues / Roadmap
======================

- Window actions crm.crm_lead_all_leads and
crm.crm_lead_opportunities_tree_view contexts are overwritten for
hiding the lead field in timesheet embedded view. As this is not
accumulative, this change might be lost by other module overwritting
the same action, or this masks another module overwritting.

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

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

* Tecnativa

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

- `Tecnativa <https://www.tecnativa.com>`__

- Antonio Espinosa
- Rafael Blasco
- Javier Iniesta
- David Vidal
- Vicent Cubells
- Jairo Llopis
- Carolina Fernandez

- Foram Shah <[email protected]>

- `Sygel <https://www.sygel.es>`__

- Harald Panten
- Valentin Vinagre
- Roger Sans

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/timesheet <https://github.com/OCA/timesheet/tree/18.0/crm_timesheet>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions crm_timesheet/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizards
23 changes: 23 additions & 0 deletions crm_timesheet/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2015 Antiun - Antonio Espinosa
# Copyright 2015 Antiun - Javier Iniesta
# Copyright 2017 Tecnativa - David Vidal
# Copyright 2019 Tecnativa - Jairo Llopis
# Copyright 2020 Tecnativa - Pedro M. Baeza
# Copyright 2023 Tecnativa - Carolina Fernandez
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "CRM Timesheet",
"category": "Customer Relationship Management",
"version": "18.0.1.0.0",
"depends": ["crm", "project_timesheet_time_control"],
"data": [
"security/ir.model.access.csv",
"views/crm_lead_view.xml",
"views/hr_timesheet_view.xml",
],
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/timesheet",
"license": "AGPL-3",
"installable": True,
}
81 changes: 81 additions & 0 deletions crm_timesheet/i18n/crm_timesheet.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_timesheet
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: crm_timesheet
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_kanban_view_leads
#: model_terms:ir.ui.view,arch_db:crm_timesheet.view_crm_lead_kanban
msgid "<i class=\"fa fa-lg fa-play-circle\" title=\"Start\"/>"
msgstr ""

#. module: crm_timesheet
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_kanban_view_leads
#: model_terms:ir.ui.view,arch_db:crm_timesheet.view_crm_lead_kanban
msgid "<i class=\"fa fa-lg fa-stop-circle\" title=\"Stop\"/>"
msgstr ""

#. module: crm_timesheet
#: model:ir.model,name:crm_timesheet.model_account_analytic_line
msgid "Analytic Line"
msgstr ""

#. module: crm_timesheet
#: model:ir.model,name:crm_timesheet.model_hr_timesheet_switch
msgid "Helper to quickly switch between timesheet lines"
msgstr ""

#. module: crm_timesheet
#: model:ir.model.fields,help:crm_timesheet.field_crm_lead__show_time_control
msgid "Indicate which time control button to show, if any."
msgstr ""

#. module: crm_timesheet
#: model:ir.model,name:crm_timesheet.model_crm_lead
#: model:ir.model.fields,field_description:crm_timesheet.field_account_analytic_line__lead_id
msgid "Lead/Opportunity"
msgstr ""

#. module: crm_timesheet
#: model:ir.model.fields,field_description:crm_timesheet.field_crm_lead__project_id
msgid "Project"
msgstr ""

#. module: crm_timesheet
#: model:ir.model.fields,field_description:crm_timesheet.field_crm_lead__show_time_control
msgid "Show Time Control"
msgstr ""

#. module: crm_timesheet
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_kanban_view_leads
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_tree_view_leads
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_tree_view_oppor
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_lead_view_form
#: model_terms:ir.ui.view,arch_db:crm_timesheet.view_crm_lead_kanban
msgid "Start work"
msgstr ""

#. module: crm_timesheet
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_kanban_view_leads
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_tree_view_leads
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_tree_view_oppor
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_lead_view_form
#: model_terms:ir.ui.view,arch_db:crm_timesheet.view_crm_lead_kanban
msgid "Stop work"
msgstr ""

#. module: crm_timesheet
#: model:ir.model.fields,field_description:crm_timesheet.field_crm_lead__timesheet_ids
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_lead_view_form
msgid "Timesheet"
msgstr ""
87 changes: 87 additions & 0 deletions crm_timesheet/i18n/cs_CZ.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_timesheet
#
# Translators:
# Lukáš Spurný <[email protected]>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-23 01:55+0000\n"
"PO-Revision-Date: 2018-02-23 01:55+0000\n"
"Last-Translator: Lukáš Spurný <[email protected]>, 2018\n"
"Language-Team: Czech (Czech Republic) (https://www.transifex.com/oca/"
"teams/23907/cs_CZ/)\n"
"Language: cs_CZ\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"

#. module: crm_timesheet
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_kanban_view_leads
#: model_terms:ir.ui.view,arch_db:crm_timesheet.view_crm_lead_kanban
msgid "<i class=\"fa fa-lg fa-play-circle\" title=\"Start\"/>"
msgstr ""

#. module: crm_timesheet
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_kanban_view_leads
#: model_terms:ir.ui.view,arch_db:crm_timesheet.view_crm_lead_kanban
msgid "<i class=\"fa fa-lg fa-stop-circle\" title=\"Stop\"/>"
msgstr ""

#. module: crm_timesheet
#: model:ir.model,name:crm_timesheet.model_account_analytic_line
msgid "Analytic Line"
msgstr "Analytická linka"

#. module: crm_timesheet
#: model:ir.model,name:crm_timesheet.model_hr_timesheet_switch
msgid "Helper to quickly switch between timesheet lines"
msgstr ""

#. module: crm_timesheet
#: model:ir.model.fields,help:crm_timesheet.field_crm_lead__show_time_control
msgid "Indicate which time control button to show, if any."
msgstr ""

#. module: crm_timesheet
#: model:ir.model,name:crm_timesheet.model_crm_lead
#: model:ir.model.fields,field_description:crm_timesheet.field_account_analytic_line__lead_id
msgid "Lead/Opportunity"
msgstr "Vedoucí/příležitost"

#. module: crm_timesheet
#: model:ir.model.fields,field_description:crm_timesheet.field_crm_lead__project_id
msgid "Project"
msgstr "Projekt"

#. module: crm_timesheet
#: model:ir.model.fields,field_description:crm_timesheet.field_crm_lead__show_time_control
msgid "Show Time Control"
msgstr ""

#. module: crm_timesheet
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_kanban_view_leads
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_tree_view_leads
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_tree_view_oppor
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_lead_view_form
#: model_terms:ir.ui.view,arch_db:crm_timesheet.view_crm_lead_kanban
msgid "Start work"
msgstr ""

#. module: crm_timesheet
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_kanban_view_leads
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_tree_view_leads
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_tree_view_oppor
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_lead_view_form
#: model_terms:ir.ui.view,arch_db:crm_timesheet.view_crm_lead_kanban
msgid "Stop work"
msgstr ""

#. module: crm_timesheet
#: model:ir.model.fields,field_description:crm_timesheet.field_crm_lead__timesheet_ids
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_lead_view_form
msgid "Timesheet"
msgstr "Rozvrh hodin"
84 changes: 84 additions & 0 deletions crm_timesheet/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_timesheet
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2019-07-11 12:43+0000\n"
"Last-Translator: Maria Sparenberg <[email protected]>\n"
"Language-Team: none\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.7.1\n"

#. module: crm_timesheet
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_kanban_view_leads
#: model_terms:ir.ui.view,arch_db:crm_timesheet.view_crm_lead_kanban
msgid "<i class=\"fa fa-lg fa-play-circle\" title=\"Start\"/>"
msgstr ""

#. module: crm_timesheet
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_kanban_view_leads
#: model_terms:ir.ui.view,arch_db:crm_timesheet.view_crm_lead_kanban
msgid "<i class=\"fa fa-lg fa-stop-circle\" title=\"Stop\"/>"
msgstr ""

#. module: crm_timesheet
#: model:ir.model,name:crm_timesheet.model_account_analytic_line
msgid "Analytic Line"
msgstr "Kostenstellenbuchung"

#. module: crm_timesheet
#: model:ir.model,name:crm_timesheet.model_hr_timesheet_switch
msgid "Helper to quickly switch between timesheet lines"
msgstr ""

#. module: crm_timesheet
#: model:ir.model.fields,help:crm_timesheet.field_crm_lead__show_time_control
msgid "Indicate which time control button to show, if any."
msgstr ""

#. module: crm_timesheet
#: model:ir.model,name:crm_timesheet.model_crm_lead
#: model:ir.model.fields,field_description:crm_timesheet.field_account_analytic_line__lead_id
msgid "Lead/Opportunity"
msgstr "Interessent / Chance"

#. module: crm_timesheet
#: model:ir.model.fields,field_description:crm_timesheet.field_crm_lead__project_id
msgid "Project"
msgstr "Projekt"

#. module: crm_timesheet
#: model:ir.model.fields,field_description:crm_timesheet.field_crm_lead__show_time_control
msgid "Show Time Control"
msgstr ""

#. module: crm_timesheet
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_kanban_view_leads
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_tree_view_leads
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_tree_view_oppor
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_lead_view_form
#: model_terms:ir.ui.view,arch_db:crm_timesheet.view_crm_lead_kanban
msgid "Start work"
msgstr ""

#. module: crm_timesheet
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_kanban_view_leads
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_tree_view_leads
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_case_tree_view_oppor
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_lead_view_form
#: model_terms:ir.ui.view,arch_db:crm_timesheet.view_crm_lead_kanban
msgid "Stop work"
msgstr ""

#. module: crm_timesheet
#: model:ir.model.fields,field_description:crm_timesheet.field_crm_lead__timesheet_ids
#: model_terms:ir.ui.view,arch_db:crm_timesheet.crm_lead_view_form
msgid "Timesheet"
msgstr "Zeiterfassung"
Loading
Loading