Skip to content

[18.0][MIG] sale_timesheet_line_exclude: Migration to 18.0 #769

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

Open
wants to merge 26 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
26 commits
Select commit Hold shift + click to select a range
a42f8c1
[ADD] sale_timesheet_line_exclude: exclude Timesheet Line from Sale O…
alexey-pelykh May 1, 2019
22423ae
[12.0][FIX] Manifest fixes (#255)
alexey-pelykh May 14, 2019
c621056
Added translation using Weblate (German)
marylla Jul 10, 2019
8204f7f
Added translation using Weblate (Spanish)
josepmy May 18, 2020
0ce50a2
[UPD] Brainbean Apps => CorporateHub
alexey-pelykh Nov 4, 2020
ec2ff1c
[FIX] sale_timesheet_line_exclude: user friendly Non-billable label
dreispt Dec 2, 2020
5755d45
Added translation using Weblate (French)
ypapouin Jan 27, 2021
12174bd
[IMP] sale_timesheet_line_exclude: black, isort, prettier
Du-ma Jun 21, 2021
a8093f1
[MIG] sale_timesheet_line_exclude: migration to 13.0
Du-ma Jun 21, 2021
cb1f687
[MIG] sale_timesheet_line_exclude: Migration to 14.0
dantiller2 May 13, 2022
6b4cac4
[15.0][MIG] sale_timesheet_line_exclude
Freni-OSI Jul 1, 2022
c0f821e
Translated using Weblate (French)
vincent-hatakeyama Oct 5, 2022
403efd2
Added translation using Weblate (Italian)
mymage Jan 10, 2023
18b1b68
[MIG] sale_timesheet_line_exclude: Migration to 16.0
Feb 16, 2023
5b171ce
Added translation using Weblate (Portuguese (Brazil))
adrianojprado Oct 27, 2023
d186f59
[IMP] sale_timesheet_line_exclude: black, isort, prettier
Feb 23, 2024
a3ec9f1
[MIG] sale_timesheet_line_exclude: Migration to 17.0
Feb 23, 2024
5c18dc8
[IMP] sale_timesheet_line_exclude: add exclude_from_sale_order to edi…
CRogos May 15, 2024
b43683f
[IMP] sale_timesheet_line_exclude: add security group
sbidoul Aug 18, 2024
7eda50e
[FIX] sale_timesheet_line_exclude: don't copy the field
sbidoul Aug 22, 2024
225cf95
[FIX] sale_timesheet_line_exclude: recompute so line when changing ex…
sbidoul Oct 9, 2024
5a27b00
[IMP] sale_timesheet_line_exclude: Add group to admin and default use…
CRogos Feb 20, 2025
0a6c7c6
Update translation files
weblate Mar 24, 2025
38bc276
Translated using Weblate (Italian)
mymage Mar 25, 2025
8ea1249
[IMP] sale_timesheet_line_exclude: pre-commit auto fixes
MohamedOsman7 Apr 14, 2025
34ab93e
[MIG] sale_timesheet_line_exclude: Migration to 18.0
MohamedOsman7 Apr 14, 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
104 changes: 104 additions & 0 deletions sale_timesheet_line_exclude/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
=======================================================
Sales Timesheet: exclude Timesheet Line from Sale Order
=======================================================

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

.. |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>`__

- Bhavesh Heliconia

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
21 changes: 21 additions & 0 deletions sale_timesheet_line_exclude/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 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": [
"security/exclude_from_sale_order.xml",
"views/account_analytic_line.xml",
"views/project_task.xml",
],
}
60 changes: 60 additions & 0 deletions sale_timesheet_line_exclude/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# 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:res.groups,name:sale_timesheet_line_exclude.group_exclude_from_sale_order
msgid "Exclude timesheets from sale order"
msgstr ""

#. 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:res.groups,comment:sale_timesheet_line_exclude.group_exclude_from_sale_order
msgid "Gives access to the Non-Billable field on timesheets."
msgstr ""

#. 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."
59 changes: 59 additions & 0 deletions sale_timesheet_line_exclude/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# 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:res.groups,name:sale_timesheet_line_exclude.group_exclude_from_sale_order
msgid "Exclude timesheets from sale order"
msgstr ""

#. 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:res.groups,comment:sale_timesheet_line_exclude.group_exclude_from_sale_order
msgid "Gives access to the Non-Billable field on timesheets."
msgstr ""

#. 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."
61 changes: 61 additions & 0 deletions sale_timesheet_line_exclude/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# 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:res.groups,name:sale_timesheet_line_exclude.group_exclude_from_sale_order
msgid "Exclude timesheets from sale order"
msgstr ""

#. 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:res.groups,comment:sale_timesheet_line_exclude.group_exclude_from_sale_order
msgid "Gives access to the Non-Billable field on timesheets."
msgstr ""

#. 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."
60 changes: 60 additions & 0 deletions sale_timesheet_line_exclude/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# 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: 2025-03-25 11:06+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 5.10.2\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:res.groups,name:sale_timesheet_line_exclude.group_exclude_from_sale_order
msgid "Exclude timesheets from sale order"
msgstr "Escludi fogli ore dagli ordini 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:res.groups,comment:sale_timesheet_line_exclude.group_exclude_from_sale_order
msgid "Gives access to the Non-Billable field on timesheets."
msgstr "Consenti accesso ai campi non fatturabili nei fogli ore."

#. 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."
Loading