[FIX] temporary fix, should be cleaned by removing editable context

bzr revid: fp@tinyerp.com-20131201115142-mok8vlkua5f4tb5l
This commit is contained in:
Fabien Pinckaers 2013-12-01 12:51:42 +01:00
parent 0c1edb8024
commit e477c1f617
1 changed files with 1 additions and 1 deletions

View File

@ -671,7 +671,7 @@ class view(osv.osv):
# view used as templates
@tools.ormcache_context(accepted_keys=('lang','inherit_branding'))
@tools.ormcache_context(accepted_keys=('lang','inherit_branding', 'editable', 'translatable'))
def read_template(self, cr, uid, id_, context=None):
try:
id_ = int(id_)