documentation/content/applications/services/project/advanced/so_to_task.rst
Antoine Vandevenne (anv) 6f125de01b [MOV] content/*: move resource files into their related page's directory
Since odoo/documentation#903, the guideline for the location of new
resource (images, downloadable files, RST includes...) files is to place
those inside the directory of the RST page that references them.

For example, if `doc1.rst` has a reference to `image.png` and to
`download.zip`, the file structure should look like this:

├── parent_doc/
│     └── doc1/
│     │     └── image.png
│     │     └── download.zip
│     └── doc1.rst
│     └── doc2.rst
├── parent_doc.rst

Before this commit, most of the resource files were still located inside
'media' directories holding all the resource files referenced by RST
pages located at the same level as these directories. In the example
above, a single 'media' directory would hold all the resource files
referenced by both `doc1.rst` and `doc2.rst`. Doing so prevented us from
figuring out easily which resource file was referenced by which RST page
and, thus, lead to unused resource files piling up in the repository. It
also made it more complicated to define codeowners regex rules because a
team could not simply be assigned to `/some_page.*` but needed to be
assigned to both `/some_page\.rst` and to the location of 'media'.

In order to help new content writers figure out the guideline when
taking examples from other RST pages, this commit retroactively applies
the guideline to existing resource files and 'media' directories. The
left-over resource files that are not referenced by any RST page are
removed.

task-2497965

closes odoo/documentation#2006

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-05-19 11:33:49 +02:00

72 lines
2.8 KiB
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

===========================================
Create Projects and Tasks from Sales Orders
===========================================
When you sell your services, you can choose to automatically have a project/task created, helping
you to not lose track of the work that needs to get done, streamlining the processes between teams.
In addition to that, you are able to invoice or reinvoice clients according to the exact time
spent on that service.
Product set up
==============
| Under :menuselection:`Sales --> Products --> Products` create a new product or set up an existing
one. Under *General Information* set the *Product Type* as *Service*. Under the *Sales* tab select
the *Service Invoicing Policy* and *Service Tracking*.
| If you choose to:
| - *Create a task in an existing project*: a task is added in the first column of the selected
project.
| - *Create a task in sales orders project*: a new project for each sales order of that service is
created based on the template you have chosen.
| - *Create a new project but no task*: only creates a new project, for each time that service is
sold, based on the skeleton of the project template chosen.
.. image:: so_to_task/sales_invoicing.png
:align: center
:alt: Choose the invoicing options on a product form under the sales tab in Odoo Project
Confirm a quotation and have a project/task created
===================================================
Now, once a *Quotation* is confirmed and transformed into a *Sales Order*, a project or task
is automatically created.
.. image:: so_to_task/confirm_quotation.png
:align: center
:alt: Click on confirm in a quotation and have a task or project created for Odoo Project
Access the task generated from Project
======================================
On the *Project* application, your new project and/or task (depending on the previous *Service
Tracking* options chosen), is shown:
.. image:: so_to_task/access_tasks.png
:align: center
:height: 250
:alt: Click on tasks in the dashboard view to access them in Odoo Project
Record the time spent and create an invoice
===========================================
From *Project*, access your task and document the time spent under the *Timesheets* tab.
.. image:: so_to_task/record_time.png
:align: center
:alt: Access the task and under the tab timesheet record the time spent in Odoo Project
Once the task is complete, click on *Sales Order* and *Create Invoice*.
.. image:: so_to_task/sales_order.png
:align: center
:alt: Click on sales order in the task once it is complete in Odoo Project
.. tip::
To only invoice approved timesheets, go to :menuselection:`Timesheets --> Configuration -->
Settings`, and enable *Approved timesheets only*.
.. seealso::
* :doc:`../overview/setup`
* :doc:`/applications/sales/sales/invoicing/subscriptions`