[FIX] base: make ir_attachment._filestore callable with kwargs
This commit is contained in:
parent
e31fd6a1e1
commit
182acc9274
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue