[FIX] website_blog: set oldname for background_image field

bzr revid: chs@openerp.com-20140417153948-loqwswgkq1zri462
This commit is contained in:
Christophe Simonis 2014-04-17 17:39:48 +02:00
parent a32ccdbbd1
commit 146ee44c66
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class BlogPost(osv.Model):
'name': fields.char('Title', required=True, translate=True),
'subtitle': fields.char('Sub Title', translate=True),
'author_id': fields.many2one('res.partner', 'Author'),
'background_image': fields.binary('Background Image'),
'background_image': fields.binary('Background Image', oldname='content_image'),
'blog_id': fields.many2one(
'blog.blog', 'Blog',
required=True, ondelete='cascade',