Skip to Content

Web Timer Widget (odoo)

Generic widget for Form Vews
December 20, 2016 by
Web Timer Widget (odoo)
Turkesh Patel
| No comments yet

Web Timer Widget – A Live Stopwatch You Can Drop Into Any Odoo Screen

A reusable timer component for Odoo: a live clock that starts when work begins, ticks up in hours:minutes:seconds while a record is open, and stops and saves the total when work ends. It’s a developer tool – a building block your technical team adds to a view – not a ready-to-use app you install and immediately see. If you want a ready-made start/stop timer on Project Tasks with no code, there’s a separate module for that.


⚠ Please Note: This Is a Developer Tool

Before anything else, an important point: this module is a reusable widget component, not a plug-and-play app. Technical knowledge is required to use it – it must be added to an Odoo view by a developer, so you cannot simply install it and see a timer appear. Someone with Odoo development experience needs to configure it for your specific screen. If you’re not a developer, this is one to share with your technical team. (If you just want a working timer on Project Tasks without any coding, see the ready-to-use module linked further down.)

What Does This Module Do?

This module provides a stopwatch that can be built directly into any Odoo form – no separate app and no manual calculation. When work begins the timer starts counting up, and when work ends it stops, with the total time saved automatically. The display always shows hours : minutes : seconds and updates every second, so you can see at a glance how long something has been running. It’s also robust: if the computer goes to sleep and wakes again, the timer catches up so no time is lost. Because it’s a reusable component, a developer can place it on existing or custom screens wherever tracking elapsed time matters.

How Does It Work?

Three things happen automatically, with no buttons to press. First, when a start date and time is set on a record – a task, appointment, order, or anything else – the timer begins counting up immediately, and you can watch the seconds tick by in real time. Second, while the record is open the display updates every second without needing a page refresh; and if the machine sleeps, the timer automatically corrects itself on wake so the elapsed time stays accurate. Third, when an end date and time is set on the same record, the timer stops and locks at the final elapsed value, and that total duration is saved on the record for reporting or invoicing. The widget reads from and writes to those start/end fields – your developer wires it to the relevant screen.

Where Can It Be Used?

Anywhere in Odoo where elapsed time matters. On development tasks, a developer starts the timer when they pick up a ticket and stops it on completion, recording exact time with no manual entry. On hospital appointment records, it can track how long a consultation or procedure takes for billing. On support tickets, it measures response and resolution times and shows live how long a case has been open, feeding SLA reports. On manufacturing orders, it records how long each production step actually takes versus the estimate. For events and venues, it can display elapsed time since a concert, conference, or booking started. And because it’s a reusable widget, a developer can add it to any custom module without building a whole new app.

Want a Ready-to-Use Timer Instead?

If you specifically want a timer on Project Tasks – with a start button, a stop button, and automatic time tracking – without writing any code, there’s a dedicated module built on top of this widget that does exactly that out of the box: Project Task Start / Stop Timer. This Web Timer Widget is the underlying building block for developers who want to place a live timer on their own or custom screens.

Product Screenshots

Live timer widget showing hours, minutes and seconds

Live Timer – a stopwatch showing hours : minutes : seconds, updating every second

Timer widget placed on a Project Task form (illustration)

On a Project Task (illustration) – how the widget looks when a developer places it on a task form; standard Odoo Project has no start/stop timer of its own

Key Points at a Glance

Reusable timer component: a live stopwatch a developer can drop into any Odoo screen.

Automatic start, stop, save: driven by start/end date-time fields, with the total saved to the record.

Live H:M:S display: updates every second and self-corrects if the computer sleeps.

Broadly useful: dev tickets, consultations, support SLAs, manufacturing steps, events, custom modules.

Developer tool: requires a developer to add it to a view — not a ready-to-use install.

Ready to build with it?

Get the widget for your development team — or ask us to set it up on your screens for you.

Have a question or need help? Write to us at [email protected]

Sign in to leave a comment