[Fix] document_webdav: rename pooler method name
authorBhumika (OpenERP) <sbh@tinyerp.com>
Fri, 24 Jun 2011 10:56:10 +0000 (16:26 +0530)
committerBhumika (OpenERP) <sbh@tinyerp.com>
Fri, 24 Jun 2011 10:56:10 +0000 (16:26 +0530)
bzr revid: sbh@tinyerp.com-20110624105610-874pt2oi9w641bmp

addons/document_webdav/dav_fs.py

index 8c606e4..5e01bf6 100644 (file)
@@ -361,7 +361,7 @@ class openerp_dav_handler(dav_interface):
         for db_name in result:
             cr = None
             try:
-                db = pooler.get_db_only(db_name)
+                db = pooler.get_db(db_name)
                 cr = db.cursor()
                 cr.execute("SELECT id FROM ir_module_module WHERE name = 'document' AND state='installed' ")
                 res=cr.fetchone()