Dates are not synchronized

When I add a task in the project or whatever, why I don’t get the current date and a past date is automatically assigned? I don’t want to do this manually but I want to understand why isn’t the current date assigned instead of a past date?

Hello,
Normally, today’s date is loaded by default.

Make sure you configure the time zone in your company configuration in Axelor and the datetime of your server.

2 « J'aime »

Dear Pie,
you can add an action-attrs

<action-attrs name="action-set-current-date">
<attribute name="value" expr="eval:__config__.app.getTodayDate()" for="date"/>

and call this on the form as onNew=« action-set-current-date »

Whenever you create a new task it will select the current data automatically.

Hope it will help you.