Commit 70ddea59 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Xiaowu Zhang

erp5_travel_expense: Fix Stop Date on leave Request to be at the end of the selected day

parent c30a3959
......@@ -45,7 +45,7 @@ else:
line.edit(
start_date=DateTime(record.getStartDate()),
stop_date=DateTime(record.getStopDate()),
stop_date=DateTime(record.getStopDate()).latestTime(),
resource=record.getResource(),
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment