Automatic Task Duration

by
Odoo          
v 11.0 Third Party 288
Download for 11.0 series Deploy on Odoo.sh
You bought this module and need support ? Click here !
Technical name automatic_task_duration
LicenseAGPL-3
Websitehttp://www.aktivsoftware.com
Read description for v 10.0
Required Apps Timesheets (hr_timesheet)
Project (project)
Employee Directory (hr)
Technical name automatic_task_duration
LicenseAGPL-3
Websitehttp://www.aktivsoftware.com
Read description for v 10.0
Required Apps Timesheets (hr_timesheet)
Project (project)
Employee Directory (hr)

Automatic Task Duration

This module will help user to keep a record of the time duration spent on a specific task. Below highlighted are the features of this module:

  • User can start and stop the timer at the time of task initiation and termination.
  • Also, there is a description box where user can add the task description.
  • Further a timesheet will be generated which will contain start and end date, employee name, description and duration.

Prerequisites before Installation

No prerequisites are required before the installation.

Configurations

No configurations needed.

When clicked on Tasks tab you will be displayed with the screen as shown in the below image. You can see there is a “Start” button and by tapping that button user can start recording time spent on their activity.

You can also provide a specific time limit for the task under “Initially planned Hours”. Additionally, user can see the progress of the task.

When you click the “End” button a wizard will be displayed which will contain the start time and end time for your activity with total duration. User can also add description for their activity. Clicking on “Save Entry” button you will be provided with the final timesheet.

As mentioned above, after saving the entry of a particular activity user will get a timesheet entry with a detailed information such as: - activity date, start time, end time, employee name, description of the activity, and total duration spent on that activity.

Please log in to comment on this module

Please choose a rating from 1 to 5 for this module.
Odoo
Error after "Save Entry"
by on

How to solve this? Odoo Server Error Traceback (most recent call last): File "/home/odoo/odoo-dev/odoo11-1/odoo/http.py", line 650, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/home/odoo/odoo-dev/odoo11-1/odoo/http.py", line 310, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/home/odoo/odoo-dev/odoo11-1/odoo/tools/pycompat.py", line 87, in reraise raise value File "/home/odoo/odoo-dev/odoo11-1/odoo/http.py", line 692, in dispatch result = self._call_function(**self.params) File "/home/odoo/odoo-dev/odoo11-1/odoo/http.py", line 342, in _call_function return checked_call(self.db, *args, **kwargs) File "/home/odoo/odoo-dev/odoo11-1/odoo/service/model.py", line 97, in wrapper return f(dbname, *args, **kwargs) File "/home/odoo/odoo-dev/odoo11-1/odoo/http.py", line 335, in checked_call result = self.endpoint(*a, **kw) File "/home/odoo/odoo-dev/odoo11-1/odoo/http.py", line 936, in __call__ return self.method(*args, **kw) File "/home/odoo/odoo-dev/odoo11-1/odoo/http.py", line 515, in response_wrap response = f(*args, **kw) File "/home/odoo/odoo-dev/odoo11-1/addons/web/controllers/main.py", line 935, in call_button action = self._call_kw(model, method, args, {}) File "/home/odoo/odoo-dev/odoo11-1/addons/web/controllers/main.py", line 923, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/home/odoo/odoo-dev/odoo11-1/odoo/api.py", line 689, in call_kw return call_kw_multi(method, model, args, kwargs) File "/home/odoo/odoo-dev/odoo11-1/odoo/api.py", line 680, in call_kw_multi result = method(recs, *args, **kwargs) File "/home/odoo/odoo-dev/odoo11-1/addons_custom/automatic_task_duration/wizards/task_entry.py", line 53, in save_entry task_rec.write({'timesheet_ids': [(0, 0, vals)]}) File "/home/odoo/odoo-dev/odoo11-1/addons/hr_timesheet/models/project.py", line 65, in write result = super(Task, self).write(values) File "/home/odoo/odoo-dev/odoo11-1/addons/project/models/project.py", line 668, in write result = super(Task, self).write(vals) File "/home/odoo/odoo-dev/odoo11-1/addons/mail/models/mail_thread.py", line 277, in write result = super(MailThread, self).write(values) File "/home/odoo/odoo-dev/odoo11-1/addons/mail/models/mail_activity.py", line 336, in write return super(MailActivityMixin, self).write(vals) File "/home/odoo/odoo-dev/odoo11-1/odoo/models.py", line 3090, in write self._write(old_vals) File "/home/odoo/odoo-dev/odoo11-1/odoo/models.py", line 3228, in _write field.write(self.with_context(rel_context), vals[name]) File "/home/odoo/odoo-dev/odoo11-1/odoo/fields.py", line 2257, in write comodel.create(act[2]) File "/home/odoo/odoo-dev/odoo11-1/addons/hr_timesheet/models/hr_timesheet.py", line 52, in create return super(AccountAnalyticLine, self).create(vals) File "/home/odoo/odoo-dev/odoo11-1/odoo/models.py", line 3373, in create record = self.browse(self._create(old_vals)) File "/home/odoo/odoo-dev/odoo11-1/odoo/models.py", line 3466, in _create cr.execute(query, tuple(u[2] for u in updates if len(u) > 2)) File "/home/odoo/odoo-dev/odoo11-1/odoo/sql_db.py", line 155, in wrapper return f(self, *args, **kwargs) File "/home/odoo/odoo-dev/odoo11-1/odoo/sql_db.py", line 232, in execute res = self._obj.execute(query, params) psycopg2.DataError: invalid input syntax for type date: "" LINE 1: ... 0.0, '2018-08-03 12:11:06', 'tein unit testing', '