Sales: Sales Workflows: Service Invoicing Policies: Timesheets on Tasks

Purpose

The purpose of this documentation is to walkthrough the Service Invoicing Policy, Timesheets on Tasks, in Odoo 14. Service Invoicing Policies determine how and when a service-type product is invoiced. This policy is intended to be used when you're being paid for actual time spent on the service, such as a Research Service.

Process

Timesheet Configuration
To get started, navigate to the Timesheets app.


Once there, click configuration > settings then scroll to the Billing section and set the Invoicing Policy to All Recorded Timesheets.

When you're done, click SAVE.

Product Configuration

Navigate to the Inventory app.


Once there, click Products > Products, then either select an existing product to modify or create a new product using the Product Creation Workflow document as a guideline, and be sure to configure your product with the following settings:

Under the GENERAL INFORMATION tab:

Product Type: Set to Service

Sales Price: This is the cost-per-unit of the service. 

Unit of Measure: This is the default Unit of Measure used for all stock operations. You can leave this as a general “unit” measure or use “hours,” “days,” or another time-based measure.

Purchase Unit of Measure: This field represents the Unit of Measure used for Purchase Orders. The unit here will automatically default to the unit selected in the Unit of Measure field. However, you can manually change this. 


Under the SALES tab:

Service Invoicing Policy: Set this to Timesheets on tasks.


If you've made changes, click SAVE.

Service Tracking

To use Timesheets, you must also set up Service Tracking on the product. See our Service Tracking for a Product document for workflow examples.

Our example indicates that when this service is ordered, a task will be created in a project based on the Sale Order. In this case we have also assigned the Project Template; you can choose your Project Template and configure from here by clicking the  external link icon after entering a template in this field. This will allow us to enter time spent on the timesheets. These timesheets will give us an accurate figure to invoice.


Quotation / Sale Order

To see how this works in a Sale Order, navigate to the Sales app.


Once there, click CREATE.

On the New Sales Order form, select your Customer from the drop-down.

Under the ORDER LINES tab, click ADD A PRODUCT and add the service product configured with this Service Invoicing Policy. The example below shows our Service on Timesheet product at $40/hour.

The customer is ordering one hour of this service, however our Invoicing Policy for this product states that they will be billed based on the timesheets entered on the task, meaning their total is dependent on how long the task takes which could be more or less than the Unit Price. 

 

When you're finished, click CONFIRM. You'll see the order line remains black, indicating it's not ready to be invoiced. This is because we're invoicing on actual time spent, per the Service Invoicing Policy.

Because our Service Tracking selection is set to create a task in a Sales Order project, we also see a  Project Overview smart button which will take us to the project that houses the task created for this Sale Orderr. There's also a  Tasks smart button. This is where we'll enter timesheets.

Click save, then click the  Tasks smart button.

 

If there are multiple tasks, select the task which shares a title with the product name.


On the task record, click EDIT, then under the TIMESHEETS tab, you'll see the number of hours ordered on the Sale Order are now the Planned Hours for this task.

To enter a timesheet, click ADD A LINE.

 

Enter some mock time entries for this task, and add more time than originally planned. When you do that, you will see the Durations of the lines add up to the total Hours Spent on this task. Below the Hours Spent, you will also see the Remaining Hours. Since the time entered is 30 minutes over the Planned Hours, the Remaining Hours is negative.

 

Click SAVE to save these timesheets. More time can be entered into this timesheet until you're ready to invoice the Sales Order.

When you're ready to invoice this order, click the  Sales Order smart button.

 

On this Sales Order, you'll now see that the order line is blue. This means we've entered time for the service and it's able to be invoiced. 

On the order line, the Quantity shows what was ordered and the Delivered column shows real-time spent; however the Subtotal does not reflect the cost for delivered quantity.

Important!

If the product line is not blue, it's because your Timesheet settings are configured to bill for approved timesheets only. To view these settings, navigate to the Timesheets app, click Configuration > Settings, then scroll down to the Billing section.

 

Click CREATE INVOICE to bring up the Create Invoices modal window. On this modal window, "Regular Invoice" is pre-selected. Click Create and view invoice.



The invoice that was created reflects the actual time spent. If you want to modify what the customer is invoiced for, click Edit and change either Quantity, Price, or Discount to adjust their total.


When you're done, click Save. You can now confirm the invoice to post it and you'll be ready to collect payment from the customer by clicking send & print


A modal window will display allowing you to edit, print, and view the invoice email. When you're ready to send, click SEND & PRINT.