diff --git a/trytond/webdav/webdav.py b/trytond/webdav/webdav.py index a71c152323..2087388682 100644 --- a/trytond/webdav/webdav.py +++ b/trytond/webdav/webdav.py @@ -100,6 +100,7 @@ class Directory(OSV): else: object_name = None object_id = False + return object_name, object_id else: object_id = int(name.rsplit('-', 1)[1].strip()) if uri: