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

[16.0][MIG] sale_order_invoicing_finished_task: Migration to version 16.0 #2513

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
8f0bb94
[10.0][ADD] sale_order_invoicing_finished_task: New module (#500)
sergio-teruel Oct 17, 2017
a8fd5ec
[IMP] sale_order_invoicing_finished_task: Use with timesheet track_se…
carlosdauden Nov 2, 2017
74ad4f8
[10.0][FIX] sale_order_invoicing_finished_task: Error creating task w…
sergio-teruel Dec 12, 2017
0e1b3fd
[IMP] sale_order_invoicing_finished_task (#556)
gurneyalex Feb 27, 2018
e2f9c8f
[FIX] sale_order_invoicing_finished_task: picking_policy condition mi…
carlosdauden Mar 10, 2018
e04dbb1
[MIG] sale_order_invoicing_finished_task: Migration to 11.0
carlosdauden Apr 4, 2018
707a5b0
[FIX] sale_order_invoicing_finished_task: picking_policy field in sal…
pedrobaeza May 29, 2018
9f12959
[FIX] sale_order_invoicing_finished_task: Make tests deterministic
pedrobaeza Apr 25, 2019
00ca97b
[MIG] sale_order_invoicing_finished_task: Migration to 12.0
Tardo Jun 19, 2019
941f292
[FIX] sale_order_invoicing_finished_task: invoiceable field is not up…
carlosdauden Jan 17, 2021
72c2a97
[IMP] sale_order_invoicing_finished_task: black, prettier, isort
joao-p-marques Feb 10, 2021
f73348f
[MIG] sale_order_invoicing_finished_task: Migration to 13.0
joao-p-marques Feb 11, 2021
4062995
[FIX] sale_order_invoicing_finished_task: Wrong value task_new_projec…
carlosdauden Jan 10, 2022
8b87a9e
[IMP] sale_order_invoicing_finished_task: black, isort, prettier
Feb 15, 2022
4722c21
[MIG] sale_order_invoicing_finished_task: Migration to 14.0
Feb 17, 2022
ed70614
[MIG] sale_order_invoicing_finished_task: Migration to 15.0
cesar-tecnativa Jun 30, 2022
9fc4a93
[FIX] sale_order_invoicing_finished_task: Incorrect inheritance chain
pedrobaeza Jul 28, 2022
61e2ab1
[FIX] Update deprecated unit tests
Oct 11, 2022
9bde566
sale_order_invoicing_finished_task 15.0.1.0.1
OCA-git-bot Oct 20, 2022
c6d2df7
[IMP] sale_order_invoicing_finished_task: pre-commit stuff
Yadier-Tecnativa May 11, 2023
6e12d22
[MIG] sale_order_invoicing_finished_task: Migration to 16.0
Yadier-Tecnativa May 12, 2023
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
123 changes: 123 additions & 0 deletions sale_order_invoicing_finished_task/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
==================================
Sale Order Invoicing Finished Task
==================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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%2Fsale--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/sale-workflow/tree/15.0/sale_order_invoicing_finished_task
:alt: OCA/sale-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/sale-workflow-15-0/sale-workflow-15-0-sale_order_invoicing_finished_task
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/167/15.0
:alt: Try me on Runbot

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

This module brings the possibility to indicate if a task is available to be
invoiced or not, within the task itself. Moreover, even if the task is not
finished yet, it can be set as invoiceable.

As an option, you can relate this control to a Project Stage
( ``project.task.type`` ). For example, if you want to assign 'Invoiceable' to
``Done`` stage always.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

1. Go to **Sales > Products > Products** and create a **service** product.

2. Within the product, choose your preferences under **General Information**
tab, as follows:

* From **Create on Order** select *Task* or *Project & Task*.
* Tick off **Invoicing control by task** checkbox, and save.

.. image:: https://raw.githubusercontent.com/OCA/sale-workflow/15.0/sale_order_invoicing_finished_task/static/description/product_view_invoicefinishedtask2.png

3. Go to **Sales > Orders > Orders** and create a new one. Add a customer and
the product you have created.

4. Confirm the sales order. It will create a new task on your selected project.

5. Go to the task and you will find a smartbutton named *Not invoiceable*. When
you click on it, you will indicate that the task can be invoiced.

.. image:: https://raw.githubusercontent.com/OCA/sale-workflow/15.0/sale_order_invoicing_finished_task/static/description/task_view_invoicefinishedtask2.png

If the product is configured with an invoicing policy "Timesheets on tasks",
time spent on the task is used to compute the delivered quantity.

6. Optional: if you want to use project stages to control this, go to
**Project > Configuration > Task Stages**, and in the stages that you
consider are invoiceable, you have to set the *Invoiceable* field to true.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/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/sale-workflow/issues/new?body=module:%20sale_order_invoicing_finished_task%0Aversion:%2015.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
* Camptocamp

Contributors
~~~~~~~~~~~~

* Denis Leemann <denis.leemann@camptocamp.com>
* `Tecnativa <https://www.tecnativa.com>`_:

* Sergio Teruel
* Carlos Dauden
* Alexandre Díaz
* João Marques
* Ernesto Tejeda
* César A. Sánchez
* Luis D. Lafaurie

* nikulchaudhary2112@gmail.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/sale-workflow <https://github.com/OCA/sale-workflow/tree/15.0/sale_order_invoicing_finished_task>`_ 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_order_invoicing_finished_task/__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).

from . import models
19 changes: 19 additions & 0 deletions sale_order_invoicing_finished_task/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2017 Tecnativa - Sergio Teruel
# Copyright 2017-2018 Tecnativa - Carlos Dauden
# Copyright 2017 Camptocamp SA
# Copyright 2021 Tecnativa - João Marques
# License AGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{
"name": "Sale Order Invoicing Finished Task",
"summary": "Control invoice order lines if their related task has been "
"set to invoiceable",
"version": "16.0.1.0.0",
"category": "Sales",
"website": "https://github.com/OCA/sale-workflow",
"author": "Tecnativa, Camptocamp, Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"depends": ["sale_timesheet"],
"data": ["views/product_view.xml", "views/project_view.xml"],
}
78 changes: 78 additions & 0 deletions sale_order_invoicing_finished_task/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_order_invoicing_finished_task
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-23 01:51+0000\n"
"PO-Revision-Date: 2017-11-23 01:51+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\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_order_invoicing_finished_task
#: model:ir.model.fields,help:sale_order_invoicing_finished_task.field_product_product__invoicing_finished_task
#: model:ir.model.fields,help:sale_order_invoicing_finished_task.field_product_template__invoicing_finished_task
#: model:ir.model.fields,help:sale_order_invoicing_finished_task.field_project_task__invoicing_finished_task
msgid "Invoice the order lines only when the task is set to invoiceable"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: model:ir.model.fields,field_description:sale_order_invoicing_finished_task.field_project_task__invoiceable
#: model:ir.model.fields,field_description:sale_order_invoicing_finished_task.field_project_task_type__invoiceable
msgid "Invoiceable"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: model:ir.model.fields,field_description:sale_order_invoicing_finished_task.field_product_product__invoicing_finished_task
#: model:ir.model.fields,field_description:sale_order_invoicing_finished_task.field_product_template__invoicing_finished_task
#: model:ir.model.fields,field_description:sale_order_invoicing_finished_task.field_project_task__invoicing_finished_task
msgid "Invoicing control by task"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: model:ir.model,name:sale_order_invoicing_finished_task.model_product_template
msgid "Product Template"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: model:ir.model,name:sale_order_invoicing_finished_task.model_sale_order
#, fuzzy
msgid "Sale Order"
msgstr "Comandes de venda"

#. module: sale_order_invoicing_finished_task
#: model:ir.model,name:sale_order_invoicing_finished_task.model_sale_order_line
msgid "Sales Order Line"
msgstr "Línia de comanda de vendes"

#. module: sale_order_invoicing_finished_task
#: model:ir.model,name:sale_order_invoicing_finished_task.model_project_task
msgid "Task"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: model:ir.model,name:sale_order_invoicing_finished_task.model_project_task_type
msgid "Task Stage"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: model:ir.model.fields,field_description:sale_order_invoicing_finished_task.field_sale_order_line__task_ids
msgid "Tasks"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: code:addons/sale_order_invoicing_finished_task/models/project.py:65
#, python-format
msgid ""
"You cannot create/modify a task related with a invoiced, done or cancel sale "
"order line "
msgstr ""
78 changes: 78 additions & 0 deletions sale_order_invoicing_finished_task/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_order_invoicing_finished_task
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-23 01:51+0000\n"
"PO-Revision-Date: 2017-11-23 01:51+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\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"

#. module: sale_order_invoicing_finished_task
#: model:ir.model.fields,help:sale_order_invoicing_finished_task.field_product_product__invoicing_finished_task
#: model:ir.model.fields,help:sale_order_invoicing_finished_task.field_product_template__invoicing_finished_task
#: model:ir.model.fields,help:sale_order_invoicing_finished_task.field_project_task__invoicing_finished_task
msgid "Invoice the order lines only when the task is set to invoiceable"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: model:ir.model.fields,field_description:sale_order_invoicing_finished_task.field_project_task__invoiceable
#: model:ir.model.fields,field_description:sale_order_invoicing_finished_task.field_project_task_type__invoiceable
msgid "Invoiceable"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: model:ir.model.fields,field_description:sale_order_invoicing_finished_task.field_product_product__invoicing_finished_task
#: model:ir.model.fields,field_description:sale_order_invoicing_finished_task.field_product_template__invoicing_finished_task
#: model:ir.model.fields,field_description:sale_order_invoicing_finished_task.field_project_task__invoicing_finished_task
msgid "Invoicing control by task"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: model:ir.model,name:sale_order_invoicing_finished_task.model_product_template
msgid "Product Template"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: model:ir.model,name:sale_order_invoicing_finished_task.model_sale_order
#, fuzzy
msgid "Sale Order"
msgstr "Verkaufsauftrag"

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

#. module: sale_order_invoicing_finished_task
#: model:ir.model,name:sale_order_invoicing_finished_task.model_project_task
msgid "Task"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: model:ir.model,name:sale_order_invoicing_finished_task.model_project_task_type
msgid "Task Stage"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: model:ir.model.fields,field_description:sale_order_invoicing_finished_task.field_sale_order_line__task_ids
msgid "Tasks"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: code:addons/sale_order_invoicing_finished_task/models/project.py:65
#, python-format
msgid ""
"You cannot create/modify a task related with a invoiced, done or cancel sale "
"order line "
msgstr ""
79 changes: 79 additions & 0 deletions sale_order_invoicing_finished_task/i18n/el_GR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_order_invoicing_finished_task
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-23 01:51+0000\n"
"PO-Revision-Date: 2017-11-23 01:51+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/"
"el_GR/)\n"
"Language: el_GR\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_order_invoicing_finished_task
#: model:ir.model.fields,help:sale_order_invoicing_finished_task.field_product_product__invoicing_finished_task
#: model:ir.model.fields,help:sale_order_invoicing_finished_task.field_product_template__invoicing_finished_task
#: model:ir.model.fields,help:sale_order_invoicing_finished_task.field_project_task__invoicing_finished_task
msgid "Invoice the order lines only when the task is set to invoiceable"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: model:ir.model.fields,field_description:sale_order_invoicing_finished_task.field_project_task__invoiceable
#: model:ir.model.fields,field_description:sale_order_invoicing_finished_task.field_project_task_type__invoiceable
msgid "Invoiceable"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: model:ir.model.fields,field_description:sale_order_invoicing_finished_task.field_product_product__invoicing_finished_task
#: model:ir.model.fields,field_description:sale_order_invoicing_finished_task.field_product_template__invoicing_finished_task
#: model:ir.model.fields,field_description:sale_order_invoicing_finished_task.field_project_task__invoicing_finished_task
msgid "Invoicing control by task"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: model:ir.model,name:sale_order_invoicing_finished_task.model_product_template
msgid "Product Template"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: model:ir.model,name:sale_order_invoicing_finished_task.model_sale_order
#, fuzzy
msgid "Sale Order"
msgstr "Εντολή Πώλησης"

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

#. module: sale_order_invoicing_finished_task
#: model:ir.model,name:sale_order_invoicing_finished_task.model_project_task
msgid "Task"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: model:ir.model,name:sale_order_invoicing_finished_task.model_project_task_type
msgid "Task Stage"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: model:ir.model.fields,field_description:sale_order_invoicing_finished_task.field_sale_order_line__task_ids
msgid "Tasks"
msgstr ""

#. module: sale_order_invoicing_finished_task
#: code:addons/sale_order_invoicing_finished_task/models/project.py:65
#, python-format
msgid ""
"You cannot create/modify a task related with a invoiced, done or cancel sale "
"order line "
msgstr ""