Skip to Content
Menu
This question has been flagged
2917 Views

In my odoo module i have created scheduled action with cron that must be executed one a day at a certain hour (15:20). But the action is running two hours late. Mayne this is related to the timezone. The timezone of the server is Europe/Madrid. The hour is vie 08 abr 2022 04:35:52 CEST. How can I fix this. Here is my code

https://stackoverflow.com/questions/71791163/how-to-set-timezone-when-executing-odoo-cron-schedule-action-once-a-day

field name="nextcall" eval="(DateTime.now() + timedelta(days=1)).strftime('%Y-%m-%d 15:20:00')"



Avatar
Discard
Related Posts Replies Views Activity
1
Jan 24
584
0
Apr 22
2901
1
May 19
4798
0
Jan 17
3436
0
Dec 15
3638