[FIX] base: make ir_attachment._filestore callable with kwargs

This commit is contained in:
Christophe Simonis 2014-07-11 14:58:32 +02:00
parent e31fd6a1e1
commit 182acc9274
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class ir_attachment(osv.osv):
def _storage(self, cr, uid, context=None):
return self.pool['ir.config_parameter'].get_param(cr, SUPERUSER_ID, 'ir_attachment.location', 'file')
@tools.ormcache()
@tools.ormcache_context()
def _filestore(self, cr, uid, context=None):
return tools.config.filestore(cr.dbname)