[FIX] website_blog: set oldname for background_image field
bzr revid: chs@openerp.com-20140417153948-loqwswgkq1zri462
This commit is contained in:
parent
a32ccdbbd1
commit
146ee44c66
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue