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
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
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