cardinal
Projects

Timesheets

Log time with activity rates, keep timesheets from overlapping, and bill the time on sales invoices.

A Timesheet records time an employee or user spent, named TS-<year>-00001. Each row of its Time Sheets table is one time log.

Rates

Each row takes its rates in this order:

  1. The Activity Cost for the row's employee and Activity Type.
  2. The Activity Cost for the Activity Type with no employee, which is the default for everyone.
  3. The Activity Type's Default Costing Rate and Default Billing Rate.

Activity Cost keeps one row per employee and type. A second one is refused with "Activity Cost exists for Employee X against Activity Type - Dev". The setup wizard ships five Activity Types as fixtures.

Example

Activity Type Dev has default rates 300 costing and 600 billing. Ada's Activity Cost for Dev is 500 costing and 800 billing. Her Timesheet:

From TimeHrsIs BillableBilling HoursBilling AmountCosting Amount
2026-10-05 09:003Yes32,4001,500
2026-10-05 13:002No001,000
2026-10-06 09:001.5Yes1800750

ERP fills To Time from From Time and Hrs. The totals are 6.5 hours, 4 billable hours, 3,200 billable and 3,250 costing. The title is the employee's name, and Start Date and End Date span the rows.

Overlaps

A row that overlaps another Timesheet of the same employee or user is refused: "Row 1: From Time and To Time of TS-... is overlapping with TS-...". Projects Settings can ignore user or employee overlaps.

Submit

On submit and cancel ERP rolls the time into the rows' Tasks and Projects. A task with logged time moves to Working and takes its actual dates, time, costing and billing amounts.

Billing

From the Timesheet's Create menu, pick Sales Invoice with a customer and item (erp.timesheet.make_sales_invoice). It lists only the unbilled logs. Or, on a Sales Invoice with a Project, fetch the project's unbilled time when Projects Settings' Fetch Timesheet in Sales Invoice is on.

Submit the invoice. ERP writes sales_invoice on each billed log and the billed hours, billed amount and % Amount Billed on the Timesheet.

The status moves to Partially Billed, then Billed.

In the example, billing the first log (2,400) leaves the Timesheet 75% billed and Partially Billed. Billing the third (800) makes it 100% and Billed. A log billed already is refused on a second invoice, and cancelling an invoice takes its billing back.

Fields that matter

FieldWhat it does
Employee or UserWhose time it is
Project (parent)Default project for the rows
Customer, Currency, Exchange RateFor billing in another currency
Activity Type, Task, Project (row)What the time was for
Is Billable, Billing HoursBilling hours default to the hours on a billable row

On this page