Skip to content
Snippets Groups Projects
Commit 973af585 authored by Antoine (ande)'s avatar Antoine (ande)
Browse files

[FIX] base_import: cannot import midnight date


Steps to reproduce:
1. Install hr_attendance
2. Go to attendances
3. Select any line
4. Change the check-out date to next day
5. Change the check-out time to 00:00:00
6. Export that line, file format xlsx
7. Favorites > import records
8. Upload the exported file > Test
9. Column check_out contains incorrect values.
Error in line 2: unconverted data remains: 2023-06-11

Cause of the issue:
options.get('date_format') is empty

opw-3374883

closes odoo/odoo#133424

Signed-off-by: default avatarRémy Voet (ryv) <ryv@odoo.com>
parent 9a96fc7d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment