Skip to content
Snippets Groups Projects
Commit b031ecfe authored by 张文广's avatar 张文广 Committed by Julien Castiaux
Browse files

[FIX] core: An exception caused by a datetime import conflict


in master datetime (the module) is unused, so keep datetime (the class).

line 9: import datetime
line 29: from datetime import datetime, date
line 1605: datetime.datetime.strptime(mtime.split('.')[0], server_format)

type object 'datetime.datetime' has no attribute 'datetime'

closes odoo/odoo#90612

X-original-commit: 8d37ac32
Signed-off-by: default avatarJulien Castiaux <juc@odoo.com>
parent 3530cfc7
No related branches found
No related tags found
Loading
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