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

[12.0][MIG] crm_phonecall_timesheet #261

Merged
merged 3 commits into from
Jun 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
97 changes: 97 additions & 0 deletions crm_phonecall_timesheet/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
=============
CRM Timesheet
=============

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/12.0/crm_phonecall_timesheet
:alt: OCA/timesheet
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/timesheet-12-0/timesheet-12-0-crm_phonecall_timesheet
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/117/12.0
:alt: Try me on Runbot

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

This module allows to generate timesheets from phone calls.

**Table of contents**

.. contents::
:local:

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

Go to ``Settings > Users`` and enable 'Show Scheduled Calls Menu'

Usage
=====

1. Go to ``CRM > Phone Calls`` and create or edit a record
2. Only records with project and duration > 0 will be generate an timesheet

** If you remove the project or change duration to 0 the timesheet will
be deleted.

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

* A bridge module would be needed in case of using hr_timesheet_activity_begin_end
to get the right start and stop hours.

Bug Tracker
pedrobaeza marked this conversation as resolved.
Show resolved Hide resolved
===========

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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/timesheet/issues/new?body=module:%20crm_phonecall_timesheet%0Aversion:%2012.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
~~~~~~~~~~~~

* Antonio Espinosa <antonio.espinosa@tecnativa.com>
* Rafael Blasco <rafael.blasco@tecnativa.com>
* Javier Iniesta <javieria@antiun.com>
* David Vidal <david.vidal@tecnativa.com>
* Alexandre Díaz <alexandre.diaz@tecnativa.com>

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/12.0/crm_phonecall_timesheet>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions crm_phonecall_timesheet/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
23 changes: 23 additions & 0 deletions crm_phonecall_timesheet/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2015 Antonio Espinosa <antonio.espinosa@tecnativa.com>
# Copyright 2015 Javier Iniesta <javieria@antiun.com>
# Copyright 2017 David Vidal <david.vidal@tecnativa.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
'name': "CRM Timesheet",
'category': 'Customer Relationship Management',
'version': '12.0.1.0.0',
'depends': [
'hr_timesheet',
'crm_phonecall',
],
'data': [
'views/crm_phonecall_view.xml',
'views/hr_timesheet_view.xml'
],
'author': 'Tecnativa, '
'Odoo Community Association (OCA)',
'website': 'https://github.com/OCA/timesheet',
'license': 'AGPL-3',
'auto_install': True,
'installable': True,
}
68 changes: 68 additions & 0 deletions crm_phonecall_timesheet/i18n/crm_phonecall_timesheet.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_phonecall_timesheet
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.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_phonecall_timesheet
#: model:ir.model,name:crm_phonecall_timesheet.model_account_analytic_line
msgid "Analytic Line"
msgstr ""

#. module: crm_phonecall_timesheet
#: model:ir.model.fields,field_description:crm_phonecall_timesheet.field_crm_phonecall_analytic_account_id
msgid "Analytic account id"
msgstr ""

#. module: crm_phonecall_timesheet
#: code:addons/crm_phonecall_timesheet/models/crm_phonecall.py:31
#, python-format
msgid "Date field must be filled."
msgstr ""

#. module: crm_phonecall_timesheet
#: code:addons/crm_phonecall_timesheet/models/crm_phonecall.py:87
#, python-format
msgid "End date must be datetime."
msgstr ""

#. module: crm_phonecall_timesheet
#: model:ir.model.fields,field_description:crm_phonecall_timesheet.field_account_analytic_line_phonecall_id
msgid "Phone Call"
msgstr ""

#. module: crm_phonecall_timesheet
#: model:ir.model,name:crm_phonecall_timesheet.model_crm_phonecall
msgid "Phonecall"
msgstr ""

#. module: crm_phonecall_timesheet
#: code:addons/crm_phonecall_timesheet/models/crm_phonecall.py:85
#, python-format
msgid "Start date must be datetime."
msgstr ""

#. module: crm_phonecall_timesheet
#: model:ir.ui.view,arch_db:crm_phonecall_timesheet.crm_case_phone_tree_view
msgid "Stop"
msgstr ""

#. module: crm_phonecall_timesheet
#: model:ir.ui.view,arch_db:crm_phonecall_timesheet.crm_case_phone_form_view
msgid "Timesheet"
msgstr ""

#. module: crm_phonecall_timesheet
#: model:ir.model.fields,field_description:crm_phonecall_timesheet.field_crm_phonecall_timesheet_ids
msgid "Timesheet ids"
msgstr ""

73 changes: 73 additions & 0 deletions crm_phonecall_timesheet/i18n/cs_CZ.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_phonecall_timesheet
#
# Translators:
# Lukáš Spurný <lukasspurny8@gmail.com>, 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ý <lukasspurny8@gmail.com>, 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_phonecall_timesheet
#: model:ir.model,name:crm_phonecall_timesheet.model_account_analytic_line
msgid "Analytic Line"
msgstr "Analytická linka"

#. module: crm_phonecall_timesheet
#: model:ir.model.fields,field_description:crm_phonecall_timesheet.field_crm_phonecall_analytic_account_id
msgid "Analytic account id"
msgstr "Analytický účet id"

#. module: crm_phonecall_timesheet
#: code:addons/crm_phonecall_timesheet/models/crm_phonecall.py:31
#, python-format
msgid "Date field must be filled."
msgstr "Pole Datum musí být vyplněno."

#. module: crm_phonecall_timesheet
#: code:addons/crm_phonecall_timesheet/models/crm_phonecall.py:87
#, python-format
msgid "End date must be datetime."
msgstr "Datum ukončení musí být datum."

#. module: crm_phonecall_timesheet
#: model:ir.model.fields,field_description:crm_phonecall_timesheet.field_account_analytic_line_phonecall_id
msgid "Phone Call"
msgstr "Telefonní hovor"

#. module: crm_phonecall_timesheet
#: model:ir.model,name:crm_phonecall_timesheet.model_crm_phonecall
msgid "Phonecall"
msgstr "Telefonát"

#. module: crm_phonecall_timesheet
#: code:addons/crm_phonecall_timesheet/models/crm_phonecall.py:85
#, python-format
msgid "Start date must be datetime."
msgstr "Datum zahájení musí být datum."

#. module: crm_phonecall_timesheet
#: model:ir.ui.view,arch_db:crm_phonecall_timesheet.crm_case_phone_tree_view
msgid "Stop"
msgstr "Zastavit"

#. module: crm_phonecall_timesheet
#: model:ir.ui.view,arch_db:crm_phonecall_timesheet.crm_case_phone_form_view
msgid "Timesheet"
msgstr "Rozvrh hodin"

#. module: crm_phonecall_timesheet
#: model:ir.model.fields,field_description:crm_phonecall_timesheet.field_crm_phonecall_timesheet_ids
msgid "Timesheet ids"
msgstr "Časové listy"
71 changes: 71 additions & 0 deletions crm_phonecall_timesheet/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_phonecall_timesheet
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-20 09:25+0000\n"
"PO-Revision-Date: 2017-06-20 11:31+0200\n"
"Last-Translator: David <david.vidal@tecnativa.com>\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.7.1\n"

#. module: crm_phonecall_timesheet
#: model:ir.model,name:crm_phonecall_timesheet.model_account_analytic_line
msgid "Analytic Line"
msgstr "Línea Analítica"

#. module: crm_phonecall_timesheet
#: model:ir.model.fields,field_description:crm_phonecall_timesheet.field_crm_phonecall_analytic_account_id
msgid "Analytic account id"
msgstr "Cuenta analítica"

#. module: crm_phonecall_timesheet
#: code:addons/crm_phonecall_timesheet/models/crm_phonecall.py:31
#, python-format
msgid "Date field must be filled."
msgstr "El campo Fecha debe estar relleno."

#. module: crm_phonecall_timesheet
#: code:addons/crm_phonecall_timesheet/models/crm_phonecall.py:87
#, python-format
msgid "End date must be datetime."
msgstr "La fecha final debe ser un datetime."

#. module: crm_phonecall_timesheet
#: model:ir.model.fields,field_description:crm_phonecall_timesheet.field_account_analytic_line_phonecall_id
msgid "Phone Call"
msgstr "Llamada telefónica"

#. module: crm_phonecall_timesheet
#: model:ir.model,name:crm_phonecall_timesheet.model_crm_phonecall
msgid "Phonecall"
msgstr "Llamada telefónica"

#. module: crm_phonecall_timesheet
#: code:addons/crm_phonecall_timesheet/models/crm_phonecall.py:85
#, python-format
msgid "Start date must be datetime."
msgstr "La fecha inicial debe ser un datetime."

#. module: crm_phonecall_timesheet
#: model:ir.ui.view,arch_db:crm_phonecall_timesheet.crm_case_phone_tree_view
msgid "Stop"
msgstr "Partes de horas"

#. module: crm_phonecall_timesheet
#: model:ir.ui.view,arch_db:crm_phonecall_timesheet.crm_case_phone_form_view
msgid "Timesheet"
msgstr "Parte de horas"

#. module: crm_phonecall_timesheet
#: model:ir.model.fields,field_description:crm_phonecall_timesheet.field_crm_phonecall_timesheet_ids
msgid "Timesheet ids"
msgstr "Timesheet ids"
Loading