# Setting an Agenda Item to update the Project Task Time Spent?

**URL:** <https://www.dolibarr.org/forum/t/setting-an-agenda-item-to-update-the-project-task-time-spent/22238>\
**Category:** Using my Dolibarr\
**Tags:** Agenda, Projects\
**Created:** [April 25, 2022, 8:24pm UTC](https://www.dolibarr.org/forum/t/setting-an-agenda-item-to-update-the-project-task-time-spent/22238 "2022-04-25T20:24:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anomaly0617](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/anomaly0617/32/5195_2.png) [@anomaly0617](https://www.dolibarr.org/forum/u/anomaly0617)\
**Post date:** [April 25, 2022, 8:24pm UTC](https://www.dolibarr.org/forum/t/setting-an-agenda-item-to-update-the-project-task-time-spent/22238/1 "2022-04-25T20:24:57Z")

</div>

Is it possible to have a newly created agenda item update the “Time Spent” section of a Project Task?

For more information, here’s what I’ve tried:

1. I go to “Agenda” and select the “Week view”.
2. I click the + sign to the right of today’s date.
3. I fill in all the fields (Type, Label, Start Date and Time, End Date and Time, Status / Percentage, Location… and then Project, Task, and Priority (?).
4. I put in notes on what I did for this project task
5. I click Add.

This appears to create a “Linked Event” in the Project Task, but it does not populate the “Time Spent” area.

The “real world impact” of this is that my accounting guy goes through and looks for the time in the projects so he can add them to invoices he has for those customers, but he doesn’t see any time, and yet, he can see that my calendar/agenda is populated.

So, is there a way to not have to “duplicate” work?

On a related note, my staff has asked if it’s possible to put in a “start time” and an “end time” to the time spent section of a task and have the software calculate the hours for them. Possible?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![isamuse](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/i/e47774/32.png) [@isamuse](https://www.dolibarr.org/forum/u/isamuse)\
**Post date:** [April 26, 2022, 4:17pm UTC](https://www.dolibarr.org/forum/t/setting-an-agenda-item-to-update-the-project-task-time-spent/22238/2 "2022-04-26T16:17:38Z")

</div>

You can “export” calendar events into the time spent view thanks to the plugin timesheet  
[https://www.dolistore.com/en/products-services-or-stock/419-Timesheet--download-on-sourceforge-.html](https://www.dolistore.com/en/products-services-or-stock/419-Timesheet--download-on-sourceforge-.html)  
After setting up timesheet, on the page Timesheet view available at this adress …/custom/timesheet/Timesheet.php  
you will have a new button “Import from calendar” which achieve your needs

 ![image](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/2/27f261eb627bd733fa9e42c20213d1f6b84acaf0.png)

---

<div class="post-metadata">

**Author:** ![anomaly0617](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/anomaly0617/32/5195_2.png) [@anomaly0617](https://www.dolibarr.org/forum/u/anomaly0617)\
**Post date:** [April 27, 2022, 11:02pm UTC](https://www.dolibarr.org/forum/t/setting-an-agenda-item-to-update-the-project-task-time-spent/22238/3 "2022-04-27T23:02:10Z")

</div>

Thank you! We’ll try it out!

---

<div class="post-metadata">

**Author:** ![MzwandileK](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/mzwandilek/32/5978_2.png) [@MzwandileK](https://www.dolibarr.org/forum/u/MzwandileK)\
**Post date:** [September 26, 2022, 8:27am UTC](https://www.dolibarr.org/forum/t/setting-an-agenda-item-to-update-the-project-task-time-spent/22238/4 "2022-09-26T08:27:54Z")

</div>

The one I had installed before didn’t have the New Button, but where I try to re-install, I am getting the error attached below

 ![timesheetinstall](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/5/54e75f1c2adf943397a2db2e5a8fefd98e47a7b3.jpeg)

 ![image](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/b/be6bebfe64cea1ac6cc75da55794ecb928201ea5.png)

---

<div class="post-metadata">

**Author:** ![ksar](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/ksar/32/514_2.png) [@ksar](https://www.dolibarr.org/forum/u/ksar)\
**Post date:** [September 26, 2022, 1:22pm UTC](https://www.dolibarr.org/forum/t/setting-an-agenda-item-to-update-the-project-task-time-spent/22238/5 "2022-09-26T13:22:38Z")

</div>

Hello,

There is a right problem in your server.  
DOlibarr can’t copy directories
