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] sale_timesheet_invoice_description #1713

Open
wants to merge 55 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
55 commits
Select commit Hold shift + click to select a range
e952df2
[9.0][NEW] sale_timesheet_invoice_description: New module (#154)
carlosdauden Aug 3, 2016
e578bcd
OCA Transbot updated translations from Transifex
oca-transbot Aug 6, 2016
8ee3255
[FIX] remove en.po that was erroneously created by transbot
sbidoul Aug 15, 2016
c2c423a
OCA Transbot updated translations from Transifex
oca-transbot Aug 20, 2016
70d104b
[MIG] Make modules uninstallable
pedrobaeza Oct 6, 2016
1c6a1d8
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
4164b7d
OCA Transbot updated translations from Transifex
oca-transbot Oct 8, 2016
44cdc9b
[MIG] sale_timesheet_invoice_description: Migration to 10.0
pedrobaeza Aug 4, 2017
7fe1384
OCA Transbot updated translations from Transifex
oca-transbot Aug 11, 2017
ff10890
[11.0][MIG] sale_timesheet_invoice_description: port to V11
astirpe Nov 23, 2017
b133bdd
OCA Transbot updated translations from Transifex
oca-transbot Dec 30, 2017
b4b4352
[UPD] Update sale_timesheet_invoice_description.pot
oca-travis Jun 19, 2018
6d303f6
[FIX] sale_timesheet_invoice_description: Load en_US language in tests
pedrobaeza Jun 28, 2018
fa33a33
[FIX] sale_timesheet_invoice_description: Avoid new constraint
pedrobaeza Jun 28, 2018
7f4f105
Translated using Weblate (German)
rschnapka Oct 11, 2018
4305a1b
[MIG] sale_timesheet_invoice_description: Migration to 12.0
ernestotejeda Nov 24, 2018
cce995e
[MIG] sale_timesheet_invoice_description: Fix E261 flake8 error
ernestotejeda Nov 26, 2018
394e82c
[MIG] sale_timesheet_invoice_description: Improve code
ernestotejeda Nov 28, 2018
217ce87
[UPD] Update sale_timesheet_invoice_description.pot
oca-travis Nov 29, 2018
913d461
Update translation files
oca-transbot Dec 9, 2018
807009d
[ADD] icon.png
OCA-git-bot Apr 3, 2019
fd5eeef
Translated using Weblate (Spanish)
josepmy Jul 22, 2019
d0d6576
[UPD] README.rst
OCA-git-bot Jul 29, 2019
3e325de
Translated using Weblate (German)
marylla Aug 23, 2019
11970f0
Translated using Weblate (Portuguese (Brazil))
Sep 23, 2019
417960b
[IMP] sale_timesheet_invoice_description: black, isort
Feb 24, 2020
663dc8e
[MIG] sale_timesheet_invoice_description: Migration to 13.0
Feb 24, 2020
508be6f
[UPD] Update sale_timesheet_invoice_description.pot
oca-travis Mar 26, 2020
eeb17c7
Update translation files
oca-transbot May 4, 2020
cc5836d
Translated using Weblate (Portuguese (Brazil))
Jul 1, 2020
277f9af
Update translation files
oca-transbot Aug 16, 2020
9784c6f
Translated using Weblate (Dutch)
bosd Jan 24, 2021
e76c7da
Translated using Weblate (Spanish)
anasuarez1 Mar 10, 2021
9a8e79d
[IMP] sale_timesheet_invoice_description: black, isort, prettier
clementmbr Mar 24, 2021
89039bc
[MIG] sale_timesheet_invoice_description: Migration to 14.0
clementmbr Mar 24, 2021
1e309cf
[IMP] option to split order.line in one invoice line for each timesheet
clementmbr Mar 26, 2021
07688ce
[UPD] Readme
clementmbr Mar 26, 2021
3343a00
[UPD] Update sale_timesheet_invoice_description.pot
oca-travis Mar 21, 2022
a050851
Translated using Weblate (Spanish (Argentina))
ibuioli Mar 24, 2022
7a16f85
[IMP] sale_timesheet_invoice_description: black, isort, prettier
Aug 30, 2022
40f4548
[MIG] sale_timesheet_invoice_description: Migration to 15.0
Aug 30, 2022
3bd7768
[UPD] Update sale_timesheet_invoice_description.pot
Dec 5, 2022
1fbaf2b
[UPD] README.rst
OCA-git-bot Dec 5, 2022
562c49b
[IMP] sale_timesheet_invoice_description: pre-commit stuff
dsolanki-initos Mar 27, 2023
ebd6149
[MIG] sale_timesheet_invoice_description: Migration to 16.0
dsolanki-initos Mar 27, 2023
427bf22
[UPD] Update sale_timesheet_invoice_description.pot
Oct 26, 2023
91bae91
Update translation files
weblate Oct 29, 2023
5fc8fd9
Translated using Weblate (Spanish)
Ivorra78 Oct 29, 2023
69538c2
Translated using Weblate (Portuguese (Brazil))
adrianojprado Oct 30, 2023
bab728f
Translated using Weblate (Italian)
francesco-ooops Nov 2, 2023
bcac11d
Translated using Weblate (Italian)
mymage Feb 21, 2024
f0a3a5f
Translated using Weblate (Swedish)
jakobkrabbe Feb 27, 2024
2231821
[IMP] sale_timesheet_invoice_description: pre-commit auto fixes
Apr 18, 2024
1f08500
[MIG] sale_timesheet_invoice_description: Migration to 17.0
Apr 30, 2024
8305bbf
[FIX] sale_timesheet_invoice_description: Fix bug TID
Apr 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
133 changes: 133 additions & 0 deletions sale_timesheet_invoice_description/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
=====================================
Timesheet details invoice description
=====================================

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

.. |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%2Faccount--invoicing-lightgray.png?logo=github
:target: https://github.com/OCA/account-invoicing/tree/17.0/sale_timesheet_invoice_description
:alt: OCA/account-invoicing
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-invoicing-17-0/account-invoicing-17-0-sale_timesheet_invoice_description
: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/account-invoicing&target_branch=17.0
:alt: Try me on Runboat

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

This module allows to add timesheets details on invoices.

**Table of contents**

.. contents::
:local:

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

To configure this module, you need to:

1. Go to **Timesheets > Configuration > Settings** and select an option
from **Timesheet Invoice Description** under **Billing** section.

Usage
=====

To use this module, you need to:

1. Create or modify a product and set the following options under
'General Information' tab:

- **Product Type** > 'Service'
- **Invoicing Policy** > 'Based on Timesheets'
- **Create on Order** > 'Project & Task'
- **Unit of Measure** > 'Hours' (or any other time unit)

2. Go to *Sales > Orders > Orders*, select a Sale Order or create a new
one, add a product (service) under 'Order Lines' tab.
3. Go to 'Other Info' tab (within the same Sale Order) and:

- Select an option from **Timesheet Invoice Description**.
- Tick off **Split Order lines by timesheets**, if you want to
create an invoice line per each Sale Order timesheet's line.
- Link the Sale Order with a project from **Project** field.

4. Confirm Sale.
5. Go to *Timesheets > Timesheets > My Timesheets*, create a record
(timesheet line) and select a task related to the Sale Order's
project (and to your specific Sale Order's line). Remember to add the
time spent.
6. Go to the Sale Order and create its invoice (click on 'Create
Invoice').

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-invoicing/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/account-invoicing/issues/new?body=module:%20sale_timesheet_invoice_description%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>`__:

- Carlos Dauden
- Pedro M. Baeza
- Ernesto Tejeda
- Manuel Calero
- Luis D. Lafaurie

- `Akretion <https://www.akretion.com>`__:

- Clément Mombereau <clement.mombereau@akretion.com.br>

- `initOS <https://www.initos.com>`__:

- Dhara Solanki <dhara.solanki@initos.com>
- Andreas Zöllner <andreas.zoellner@initos.com>

- `Binhex Systems Solutions <https://binhex.cloud>`__:

- Mario Luis <m.luis@binhex.cloud>

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/account-invoicing <https://github.com/OCA/account-invoicing/tree/17.0/sale_timesheet_invoice_description>`_ 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 sale_timesheet_invoice_description/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
17 changes: 17 additions & 0 deletions sale_timesheet_invoice_description/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2016 Tecnativa - Carlos Dauden
# Copyright 2017 Tecnativa - Pedro M. Baeza
# Copyright 2020 Tecnativa - Manuel Calero
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Timesheet details invoice description",
"summary": "Add timesheet details in invoice line",
"version": "17.0.1.0.0",
"category": "Sales Management",
"license": "AGPL-3",
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-invoicing",
"depends": ["sale_timesheet"],
"data": ["views/sale_view.xml", "views/res_config_view.xml"],
"installable": True,
}
118 changes: 118 additions & 0 deletions sale_timesheet_invoice_description/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_timesheet_invoice_description
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-20 03:39+0000\n"
"PO-Revision-Date: 2017-12-20 03:39+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

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

#. module: sale_timesheet_invoice_description
#: model:ir.model,name:sale_timesheet_invoice_description.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: sale_timesheet_invoice_description
#. odoo-python
#: code:addons/sale_timesheet_invoice_description/models/sale.py:0
#, python-format
msgid "Date - Description"
msgstr ""

#. module: sale_timesheet_invoice_description
#. odoo-python
#: code:addons/sale_timesheet_invoice_description/models/sale.py:0
#, python-format
msgid "Date - Time spent - Description"
msgstr ""

#. module: sale_timesheet_invoice_description
#: model_terms:ir.ui.view,arch_db:sale_timesheet_invoice_description.view_sales_config_inherit_timesheet_invoice_description
msgid "Default timesheet details on invoice lines"
msgstr ""

#. module: sale_timesheet_invoice_description
#. odoo-python
#: code:addons/sale_timesheet_invoice_description/models/sale.py:0
#, python-format
msgid "Description"
msgstr "الوصف"

#. module: sale_timesheet_invoice_description
#: model:ir.model.fields,field_description:sale_timesheet_invoice_description.field_account_analytic_line__timesheet_invoice_line_id
msgid "Invoice Line"
msgstr ""

#. module: sale_timesheet_invoice_description
#: model:ir.model.fields,help:sale_timesheet_invoice_description.field_account_analytic_line__timesheet_invoice_line_id
msgid "Invoice line created from the timesheet"
msgstr ""

#. module: sale_timesheet_invoice_description
#: model:ir.model,name:sale_timesheet_invoice_description.model_account_move
msgid "Journal Entry"
msgstr ""

#. module: sale_timesheet_invoice_description
#: model:ir.model,name:sale_timesheet_invoice_description.model_account_move_line
msgid "Journal Item"
msgstr ""

#. module: sale_timesheet_invoice_description
#. odoo-python
#: code:addons/sale_timesheet_invoice_description/models/sale.py:0
#, python-format
msgid "None"
msgstr ""

#. module: sale_timesheet_invoice_description
#: model:ir.model,name:sale_timesheet_invoice_description.model_sale_order
msgid "Sales Order"
msgstr ""

#. module: sale_timesheet_invoice_description
#: model:ir.model,name:sale_timesheet_invoice_description.model_sale_order_line
msgid "Sales Order Line"
msgstr ""

#. module: sale_timesheet_invoice_description
#: model:ir.model.fields,field_description:sale_timesheet_invoice_description.field_account_move_line__timesheet_invoice_split
#: model:ir.model.fields,field_description:sale_timesheet_invoice_description.field_sale_order__timesheet_invoice_split
msgid "Split Order lines by timesheets"
msgstr ""

#. module: sale_timesheet_invoice_description
#. odoo-python
#: code:addons/sale_timesheet_invoice_description/models/sale.py:0
#, python-format
msgid "Time spent - Description"
msgstr ""

#. module: sale_timesheet_invoice_description
#: model:ir.model.fields,field_description:sale_timesheet_invoice_description.field_account_move_line__timesheet_invoice_description
#: model:ir.model.fields,field_description:sale_timesheet_invoice_description.field_res_config_settings__default_timesheet_invoice_description
#: model:ir.model.fields,field_description:sale_timesheet_invoice_description.field_sale_order__timesheet_invoice_description
msgid "Timesheet Invoice Description"
msgstr ""

#. module: sale_timesheet_invoice_description
#: model:ir.model.fields,field_description:sale_timesheet_invoice_description.field_account_move_line__timesheet_ids
msgid "Timesheets"
msgstr ""
117 changes: 117 additions & 0 deletions sale_timesheet_invoice_description/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_timesheet_invoice_description
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-20 03:39+0000\n"
"PO-Revision-Date: 2017-12-20 03:39+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"Language: bg\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"

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

#. module: sale_timesheet_invoice_description
#: model:ir.model,name:sale_timesheet_invoice_description.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: sale_timesheet_invoice_description
#. odoo-python
#: code:addons/sale_timesheet_invoice_description/models/sale.py:0
#, python-format
msgid "Date - Description"
msgstr ""

#. module: sale_timesheet_invoice_description
#. odoo-python
#: code:addons/sale_timesheet_invoice_description/models/sale.py:0
#, python-format
msgid "Date - Time spent - Description"
msgstr ""

#. module: sale_timesheet_invoice_description
#: model_terms:ir.ui.view,arch_db:sale_timesheet_invoice_description.view_sales_config_inherit_timesheet_invoice_description
msgid "Default timesheet details on invoice lines"
msgstr ""

#. module: sale_timesheet_invoice_description
#. odoo-python
#: code:addons/sale_timesheet_invoice_description/models/sale.py:0
#, python-format
msgid "Description"
msgstr "Описание"

#. module: sale_timesheet_invoice_description
#: model:ir.model.fields,field_description:sale_timesheet_invoice_description.field_account_analytic_line__timesheet_invoice_line_id
msgid "Invoice Line"
msgstr ""

#. module: sale_timesheet_invoice_description
#: model:ir.model.fields,help:sale_timesheet_invoice_description.field_account_analytic_line__timesheet_invoice_line_id
msgid "Invoice line created from the timesheet"
msgstr ""

#. module: sale_timesheet_invoice_description
#: model:ir.model,name:sale_timesheet_invoice_description.model_account_move
msgid "Journal Entry"
msgstr ""

#. module: sale_timesheet_invoice_description
#: model:ir.model,name:sale_timesheet_invoice_description.model_account_move_line
msgid "Journal Item"
msgstr ""

#. module: sale_timesheet_invoice_description
#. odoo-python
#: code:addons/sale_timesheet_invoice_description/models/sale.py:0
#, python-format
msgid "None"
msgstr ""

#. module: sale_timesheet_invoice_description
#: model:ir.model,name:sale_timesheet_invoice_description.model_sale_order
msgid "Sales Order"
msgstr ""

#. module: sale_timesheet_invoice_description
#: model:ir.model,name:sale_timesheet_invoice_description.model_sale_order_line
msgid "Sales Order Line"
msgstr ""

#. module: sale_timesheet_invoice_description
#: model:ir.model.fields,field_description:sale_timesheet_invoice_description.field_account_move_line__timesheet_invoice_split
#: model:ir.model.fields,field_description:sale_timesheet_invoice_description.field_sale_order__timesheet_invoice_split
msgid "Split Order lines by timesheets"
msgstr ""

#. module: sale_timesheet_invoice_description
#. odoo-python
#: code:addons/sale_timesheet_invoice_description/models/sale.py:0
#, python-format
msgid "Time spent - Description"
msgstr ""

#. module: sale_timesheet_invoice_description
#: model:ir.model.fields,field_description:sale_timesheet_invoice_description.field_account_move_line__timesheet_invoice_description
#: model:ir.model.fields,field_description:sale_timesheet_invoice_description.field_res_config_settings__default_timesheet_invoice_description
#: model:ir.model.fields,field_description:sale_timesheet_invoice_description.field_sale_order__timesheet_invoice_description
msgid "Timesheet Invoice Description"
msgstr ""

#. module: sale_timesheet_invoice_description
#: model:ir.model.fields,field_description:sale_timesheet_invoice_description.field_account_move_line__timesheet_ids
msgid "Timesheets"
msgstr ""