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] crm_timesheet: Migration to 17.0 #700

Merged
merged 29 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
7b9f4d6
[ADD] crm_timesheet
Aug 21, 2015
c58c6cf
[MIG] crm_timesheet: Migration 10.0
chienandalu Jun 16, 2017
ea6d0b4
[IMP] crm_timesheet: Better layout
pedrobaeza Aug 17, 2017
b597def
[IMP] crm_timesheet: Handle better project/analytic account duality
pedrobaeza Aug 17, 2017
fcfbb6b
[FIX][crm_timesheet] Do not restrict project
yajo Aug 31, 2017
c1448d9
[IMP] crm_timesheet: Use projects
pedrobaeza Oct 18, 2017
f9e7e69
[MIG] crm_timesheet: Migration to 11.0
cubells Jun 19, 2018
b3c307d
[IMP] crm_timesheet: Improve views:
pedrobaeza Jan 24, 2019
af185ad
[12.0] crm_timesheet: Migration to 12.0
Mar 21, 2019
5db19d4
[IMP] crm_timesheet: ❤️ 4 UX
yajo Oct 10, 2019
8e18c58
[IMP] crm_timesheet: Tell the user no running line was found
yajo Oct 15, 2019
c08ef32
[IMP] project_timesheet_time_control: Refactor with mixin
yajo Oct 15, 2019
3974292
[IMP] crm_timesheet: black, isort, prettier
pedrobaeza Sep 26, 2020
1b9d694
[MIG] crm_timesheet: Migration to 13.0
pedrobaeza Sep 26, 2020
953824a
[IMP] crm_timesheet: Black, isort, prettier.
fshah-initos Mar 15, 2021
8b9c55f
[MIG] Migrate module crm_timesheet to v14.
hkapatel-initos Mar 15, 2021
8a49573
[MIG] crm_timesheet: Migration to 15.0
Nov 21, 2022
5dedaf2
[MIG] crm_timesheet: Migration to 16.0
carolinafernandez-tecnativa Sep 25, 2023
f9be3f1
[UPD] Update crm_timesheet.pot
Sep 27, 2023
3cba0bb
[BOT] post-merge updates
OCA-git-bot Sep 27, 2023
6d4d468
Update translation files
weblate Oct 10, 2023
f12e717
Update translation files
weblate Oct 10, 2023
7d45db7
Translated using Weblate (Italian)
mymage Oct 13, 2023
75ed464
Translated using Weblate (Spanish)
Ivorra78 Oct 15, 2023
5316e2a
Translated using Weblate (Portuguese (Brazil))
adrianojprado Oct 27, 2023
1a2e3c9
[IMP]crm_timesheet: Make lead optionnal
flotho Jun 4, 2024
8a7f397
[BOT] post-merge updates
OCA-git-bot Jul 1, 2024
7496b17
[IMP] crm_timesheet: pre-commit auto fixes
Jul 26, 2024
6600531
[MIG] crm_timesheet: Migration to 17.0
Jul 29, 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
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:f03e4e5c08c95a4b18aee21412d4bd6ad3701f79d069f8928232ab0eb470c6d1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/17.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-17-0/timesheet-17-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=17.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:%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
-------

* 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/17.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": "17.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 16.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