-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by pedrobaeza
- Loading branch information
Showing
46 changed files
with
2,964 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
================================== | ||
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/12.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-12-0/sale-workflow-12-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/12.0 | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
The requirement of this module is to give the possibility in the task to | ||
indicate if a task is available to invoice or not. This means by default even | ||
the task is not finished you could set it as invoiceable. | ||
|
||
As an option you can relate to a Project Stage ( ``project.task.type`` ) this | ||
control. For example if you want to assign Invoiceable to stage ``Done`` always. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
To use this module, you need to: | ||
|
||
1. Go to Sales -> Product and create a service product | ||
|
||
2. In the product go to Sales tab > Invoicing section and select | ||
(1) An invocing policy (2) Track service must be create a task and | ||
tack hours (3) Set 'Invoicing control by task' checkbox and save | ||
|
||
|
||
.. image:: https://raw.githubusercontent.com/OCA/sale-workflow/12.0/sale_order_invoicing_finished_task/static/description/product_view_invoicefinishedtask.png | ||
|
||
|
||
3. Go to Sales -> Sale orders -> Create a new one. Add a customer and the | ||
product you have created | ||
4. Confirm the sales order, it will create you a project and a task | ||
5. Go to the task and you will find a smartbutton called Not invoiceable, when | ||
you press the button you will indicate that the task can be invoiced | ||
|
||
.. image:: https://raw.githubusercontent.com/OCA/sale-workflow/12.0/sale_order_invoicing_finished_task/static/description/task_view_invoicefinishedtask.png | ||
|
||
If the product is configured with an invoicing policy = Order, then the | ||
delivered quantity is set to the ordered quantity. Otherwise, the time spent | ||
on the task is used. | ||
|
||
6. Optional: if you want to use project stages to control this Go To | ||
Project -> Configuration -> Stages -> You have to set true the field | ||
Invoiceable in the stages that you consider are invoiceable. Event to use | ||
stages for this functionality you can also set it manually in the task | ||
whenever you want. | ||
|
||
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:%2012.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 | ||
|
||
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/12.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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Copyright 2017 Sergio Teruel <sergio.teruel@tecnativa.com> | ||
# Copyright 2017-2018 Carlos Dauden <carlos.dauden@tecnativa.com> | ||
# Copyright 2017 Camptocamp SA | ||
# 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": "12.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", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
# 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 | ||
msgid "Quotation" | ||
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 "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 "" | ||
|
||
#~ msgid "Sales Order" | ||
#~ msgstr "Comandes de venda" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
# 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 | ||
msgid "Quotation" | ||
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 "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 "" | ||
|
||
#~ msgid "Sales Order" | ||
#~ msgstr "Verkaufsauftrag" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# 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 | ||
msgid "Quotation" | ||
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 "" | ||
|
||
#~ msgid "Sales Order" | ||
#~ msgstr "Εντολή Πώλησης" |
Oops, something went wrong.