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_line_exclude #639

Merged
merged 17 commits into from
Mar 18, 2024
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
100 changes: 100 additions & 0 deletions sale_timesheet_line_exclude/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
=======================================================
Sales Timesheet: exclude Timesheet Line from Sale Order
=======================================================

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

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

* CorporateHub

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

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

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

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