Hello everybody,
im trying to implement a Calendar with public holidays in Odoo 12.
Wenn i add dates via API like this
global_leave ={
"name": 'Bavaria',
"date_from":'2019-01-01 00:00:00',
"date_to":'2019-01-01 23:59:59,
'calendar_id':month_id}
leave_id = od.SomethingAdd('resource.calendar.leaves', global_leave)
Odoo recieves the dates succesfully but The data is not displayed correctly
When i open "technical -> resource -> working time" and let me show the "global leaves" from one of these, i get
Start Date 01/01/2019 01:00:00
End Date 01/02/2019 00:59:59
how can i fix this?
thank you for help