Skip to content
Snippets Groups Projects
Commit 182acc92 authored by Christophe Simonis's avatar Christophe Simonis
Browse files

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

parent e31fd6a1
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment