From 7539d4051c3236bb33cae36917ab4d39716db120 Mon Sep 17 00:00:00 2001 From: "P. Christeas" Date: Wed, 27 Oct 2010 13:23:23 +0300 Subject: document: fix recursive (tree) resource directories The 'node_res_obj' has been the right class to use for the intermediate nodes, ever since. The assertion that it should only apply to static dirs was wrong. bzr revid: p_christ@hol.gr-20101027102323-qewjjzzudj0zz643 --- addons/document_webdav/document_webdav.py | 1 - 1 file changed, 1 deletion(-) (limited to 'addons/document_webdav/document_webdav.py') diff --git a/addons/document_webdav/document_webdav.py b/addons/document_webdav/document_webdav.py index 28b70c8d7e4..2e1eb8cabd2 100644 --- a/addons/document_webdav/document_webdav.py +++ b/addons/document_webdav/document_webdav.py @@ -37,7 +37,6 @@ class document_davdir(osv.osv): dbro = self.browse(cr, uid, ids, context=context) if dynamic: - assert dbro.type == 'directory' return nodes.node_res_obj elif dbro.type == 'directory': return nodes.node_dir -- cgit v1.2.3