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] sale_timesheet_line_exclude: Migration to 18.0 #728

Open
wants to merge 23 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
23 commits
Select commit Hold shift + click to select a range
2dafb99
[ADD] sale_timesheet_line_exclude: exclude Timesheet Line from Sale O…
alexey-pelykh May 1, 2019
c27b5cd
[12.0][FIX] Manifest fixes (#255)
alexey-pelykh May 14, 2019
d57f7cb
Added translation using Weblate (German)
marylla Jul 10, 2019
960d83f
Added translation using Weblate (Spanish)
josepmy May 18, 2020
befa47d
[UPD] Brainbean Apps => CorporateHub
alexey-pelykh Nov 4, 2020
cba5e86
[FIX] sale_timesheet_line_exclude: user friendly Non-billable label
dreispt Dec 2, 2020
7e8990a
Added translation using Weblate (French)
ypapouin Jan 27, 2021
9602d60
[IMP] sale_timesheet_line_exclude: black, isort, prettier
Du-ma Jun 21, 2021
bababb0
[MIG] sale_timesheet_line_exclude: migration to 13.0
Du-ma Jun 21, 2021
b91caaa
[MIG] sale_timesheet_line_exclude: Migration to 14.0
dantiller2 May 13, 2022
37795e3
[15.0][MIG] sale_timesheet_line_exclude
Freni-OSI Jul 1, 2022
09e0003
Translated using Weblate (French)
vincent-hatakeyama Oct 5, 2022
31bb954
Added translation using Weblate (Italian)
mymage Jan 10, 2023
d6006c6
[MIG] sale_timesheet_line_exclude: Migration to 16.0
Feb 16, 2023
dbe9889
Added translation using Weblate (Portuguese (Brazil))
adrianojprado Oct 27, 2023
0983916
[IMP] sale_timesheet_line_exclude: black, isort, prettier
Feb 23, 2024
323de8e
[MIG] sale_timesheet_line_exclude: Migration to 17.0
Feb 23, 2024
1165cf3
[UPD] Update sale_timesheet_line_exclude.pot
Mar 18, 2024
c961413
[BOT] post-merge updates
OCA-git-bot Mar 18, 2024
6c998cd
[IMP] sale_timesheet_line_exclude: add exclude_from_sale_order to edi…
CRogos May 15, 2024
a67d10b
[BOT] post-merge updates
OCA-git-bot May 15, 2024
bf7571a
[IMP] sale_timesheet_line_exclude: pre-commit auto fixes
HeliconiaSolutions Jan 2, 2025
0b76d81
[MIG] sale_timesheet_line_exclude: Migration to 18.0
HeliconiaSolutions Jan 2, 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
102 changes: 102 additions & 0 deletions sale_timesheet_line_exclude/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
=======================================================
Sales Timesheet: exclude Timesheet Line from Sale Order
=======================================================

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

.. |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/sale_timesheet_line_exclude
: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-sale_timesheet_line_exclude
: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|

Allows to exclude specific *Timesheet* line from Sale Order.

This feature proves itself useful for *By Task* billing approach, when a
specific timesheet entry tracked towards a billable task needs to be
excluded from the Sale Order.

This functionality is not available in Odoo, reported in
`odoo/odoo#31043 <https://github.com/odoo/odoo/pull/31043>`__.

**Table of contents**

.. contents::
:local:

Usage
=====

To exclude a specific timesheet entry from invoicing:

# Go to *Timesheets > Timesheet > All Timesheets* # On the Timesheet
list view, check *Non-billable* for specific timesheet entries

or:

# Go to *Project > All Tasks*, ans open a specific Task form # On the
Task form, *Timesheets* tab, check *Non-billable* for specific
timesheet entries

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:%20sale_timesheet_line_exclude%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
-------

* CorporateHub

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

- `CorporateHub <https://corporatehub.eu/>`__

- Alexey Pelykh <[email protected]>
- Freni Patel <[email protected]>

- ``Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>``\ \_

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions sale_timesheet_line_exclude/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import models
17 changes: 17 additions & 0 deletions sale_timesheet_line_exclude/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2018-2019 Brainbean Apps (https://brainbeanapps.com)
# Copyright 2020 CorporateHub (https://corporatehub.eu)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Sales Timesheet: exclude Timesheet Line from Sale Order",
"version": "18.0.1.0.0",
"category": "Sales",
"website": "https://github.com/OCA/timesheet",
"author": "CorporateHub, " "Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"application": False,
"summary": "Exclude Timesheet Line from Sale Order",
"depends": ["sale_timesheet"],
"data": ["views/account_analytic_line.xml", "views/project_task.xml"],
}
50 changes: 50 additions & 0 deletions sale_timesheet_line_exclude/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_timesheet_line_exclude
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2019-07-12 13: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: sale_timesheet_line_exclude
#: model:ir.model,name:sale_timesheet_line_exclude.model_account_analytic_line
msgid "Analytic Line"
msgstr "Kostenstellenbuchung"

#. module: sale_timesheet_line_exclude
#: model:ir.model.fields,help:sale_timesheet_line_exclude.field_account_analytic_line__exclude_from_sale_order
msgid "Checking this would exclude this timesheet entry from Sale Order"
msgstr ""
"Wenn der Haken gesetzt ist, wird diese Zeiterfassung für die Abrechnung über "
"einen Verkaufsauftrag ausgeschlossen."

#. module: sale_timesheet_line_exclude
#: model_terms:ir.ui.view,arch_db:sale_timesheet_line_exclude.account_analytic_line_search
msgid "Excluded From Sale Order"
msgstr "von Abrechnung ausgeschlossen"

#. module: sale_timesheet_line_exclude
#: model:ir.model.fields,field_description:sale_timesheet_line_exclude.field_account_analytic_line__exclude_from_sale_order
msgid "Non-billable"
msgstr "von Abrechnung ausschließen"

#. module: sale_timesheet_line_exclude
#. odoo-python
#: code:addons/sale_timesheet_line_exclude/models/account_analytic_line.py:0
#, python-format
msgid ""
"You can not modify timesheets in a way that would affect invoices since "
"these timesheets were already invoiced."
msgstr ""
"Es ist nicht erlaubt, Zeiterfassungen zu verändern, die bereits abgerechnet "
"sind."
49 changes: 49 additions & 0 deletions sale_timesheet_line_exclude/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_timesheet_line_exclude
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-05-18 20:19+0000\n"
"Last-Translator: Josep M <[email protected]>\n"
"Language-Team: none\n"
"Language: es\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.10\n"

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

#. module: sale_timesheet_line_exclude
#: model:ir.model.fields,help:sale_timesheet_line_exclude.field_account_analytic_line__exclude_from_sale_order
msgid "Checking this would exclude this timesheet entry from Sale Order"
msgstr ""
"Marcando esto excluirá esta entrada del Parte de horas del pedido de venta"

#. module: sale_timesheet_line_exclude
#: model_terms:ir.ui.view,arch_db:sale_timesheet_line_exclude.account_analytic_line_search
msgid "Excluded From Sale Order"
msgstr "Excluido del pedido de venta"

#. module: sale_timesheet_line_exclude
#: model:ir.model.fields,field_description:sale_timesheet_line_exclude.field_account_analytic_line__exclude_from_sale_order
msgid "Non-billable"
msgstr "Excluir del pedido de venta"

#. module: sale_timesheet_line_exclude
#. odoo-python
#: code:addons/sale_timesheet_line_exclude/models/account_analytic_line.py:0
#, python-format
msgid ""
"You can not modify timesheets in a way that would affect invoices since "
"these timesheets were already invoiced."
msgstr ""
"No puede modificar los Partes de horas de forma que afecte las facturas ya "
"que estos Partes de horas ya se facturaron."
51 changes: 51 additions & 0 deletions sale_timesheet_line_exclude/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_timesheet_line_exclude
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-10-05 15:29+0000\n"
"Last-Translator: Vincent Hatakeyama <[email protected]>\n"
"Language-Team: none\n"
"Language: fr\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 4.3.2\n"

#. module: sale_timesheet_line_exclude
#: model:ir.model,name:sale_timesheet_line_exclude.model_account_analytic_line
msgid "Analytic Line"
msgstr "Ligne analytique"

#. module: sale_timesheet_line_exclude
#: model:ir.model.fields,help:sale_timesheet_line_exclude.field_account_analytic_line__exclude_from_sale_order
msgid "Checking this would exclude this timesheet entry from Sale Order"
msgstr ""
"Cocher cette case exclut cette entrée de feuille de temps de la commande "
"client"

#. module: sale_timesheet_line_exclude
#: model_terms:ir.ui.view,arch_db:sale_timesheet_line_exclude.account_analytic_line_search
msgid "Excluded From Sale Order"
msgstr "Exclue de la commande client"

#. module: sale_timesheet_line_exclude
#: model:ir.model.fields,field_description:sale_timesheet_line_exclude.field_account_analytic_line__exclude_from_sale_order
msgid "Non-billable"
msgstr "Non facturable"

#. module: sale_timesheet_line_exclude
#. odoo-python
#: code:addons/sale_timesheet_line_exclude/models/account_analytic_line.py:0
#, python-format
msgid ""
"You can not modify timesheets in a way that would affect invoices since "
"these timesheets were already invoiced."
msgstr ""
"Vous ne pouvez pas modifier les feuilles de temps d'une manière qui "
"affecterait les factures puisque ces feuilles de temps étaient déjà "
"facturées."
50 changes: 50 additions & 0 deletions sale_timesheet_line_exclude/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_timesheet_line_exclude
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-01-10 22:44+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: none\n"
"Language: it\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 4.14.1\n"

#. module: sale_timesheet_line_exclude
#: model:ir.model,name:sale_timesheet_line_exclude.model_account_analytic_line
msgid "Analytic Line"
msgstr "Riga analitica"

#. module: sale_timesheet_line_exclude
#: model:ir.model.fields,help:sale_timesheet_line_exclude.field_account_analytic_line__exclude_from_sale_order
msgid "Checking this would exclude this timesheet entry from Sale Order"
msgstr ""
"Con questa selezione la registrazione nel foglio ore verrà esclusa "
"dall'ordine di vendita"

#. module: sale_timesheet_line_exclude
#: model_terms:ir.ui.view,arch_db:sale_timesheet_line_exclude.account_analytic_line_search
msgid "Excluded From Sale Order"
msgstr "Esclusa dall'ordine di vendita"

#. module: sale_timesheet_line_exclude
#: model:ir.model.fields,field_description:sale_timesheet_line_exclude.field_account_analytic_line__exclude_from_sale_order
msgid "Non-billable"
msgstr "Non fatturabile"

#. module: sale_timesheet_line_exclude
#. odoo-python
#: code:addons/sale_timesheet_line_exclude/models/account_analytic_line.py:0
#, python-format
msgid ""
"You can not modify timesheets in a way that would affect invoices since "
"these timesheets were already invoiced."
msgstr ""
"Non è possibile modificare i fogli ore in modo tale da influire sulle "
"fatture poiché questi fogli ore sono già stati fatturati."
49 changes: 49 additions & 0 deletions sale_timesheet_line_exclude/i18n/pt_BR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_timesheet_line_exclude
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-10-29 08:28+0000\n"
"Last-Translator: Adriano Prado <[email protected]>\n"
"Language-Team: none\n"
"Language: pt_BR\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 4.17\n"

#. module: sale_timesheet_line_exclude
#: model:ir.model,name:sale_timesheet_line_exclude.model_account_analytic_line
msgid "Analytic Line"
msgstr "Linha Analítica"

#. module: sale_timesheet_line_exclude
#: model:ir.model.fields,help:sale_timesheet_line_exclude.field_account_analytic_line__exclude_from_sale_order
msgid "Checking this would exclude this timesheet entry from Sale Order"
msgstr ""
"Marcar isto excluiria esta entrada da planilha de horas do pedido de venda"

#. module: sale_timesheet_line_exclude
#: model_terms:ir.ui.view,arch_db:sale_timesheet_line_exclude.account_analytic_line_search
msgid "Excluded From Sale Order"
msgstr "Excluído do pedido de venda"

#. module: sale_timesheet_line_exclude
#: model:ir.model.fields,field_description:sale_timesheet_line_exclude.field_account_analytic_line__exclude_from_sale_order
msgid "Non-billable"
msgstr "Não faturável"

#. module: sale_timesheet_line_exclude
#. odoo-python
#: code:addons/sale_timesheet_line_exclude/models/account_analytic_line.py:0
#, python-format
msgid ""
"You can not modify timesheets in a way that would affect invoices since "
"these timesheets were already invoiced."
msgstr ""
"Você não pode modificar planilhas de horas de uma forma que afete as "
"faturas, uma vez que essas planilhas de horas já foram faturadas."
Loading
Loading