52
def __init__(self, cr, uid, context=None):
52
def __init__(self, cr, uid, context=None):
57
56
self._dirobj = pooler.get_pool(cr.dbname).get('document.directory')
61
60
def get_uri(self, cr, uri):
62
61
""" Although this fn passes back to doc.dir, it is needed since
64
63
(ndir, duri) = self._dirobj._locate_child(cr,self.uid, self.rootdir,uri, None, self)
66
65
ndir = ndir.child(cr, duri[0])