Skip to content
Snippets Groups Projects
Commit 8d37ac32 authored by 张文广's avatar 张文广 Committed by root
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#89968

Signed-off-by: default avatarJulien Castiaux <juc@odoo.com>
parent a9d38db2
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