Commit acccb00c 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 b2318af6
......@@ -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