projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45c1f7f
)
[FIX] mail: tell orm to rename column "read" to "is_read"
author
Christophe Simonis
<chs@odoo.com>
Tue, 19 Aug 2014 13:35:25 +0000
(15:35 +0200)
committer
Christophe Simonis
<chs@odoo.com>
Tue, 19 Aug 2014 13:35:25 +0000
(15:35 +0200)
addons/mail/mail_followers.py
patch
|
blob
|
history
diff --git
a/addons/mail/mail_followers.py
b/addons/mail/mail_followers.py
index
c57be5a
..
b4ef810
100644
(file)
--- a/
addons/mail/mail_followers.py
+++ b/
addons/mail/mail_followers.py
@@
-80,7
+80,7
@@
class mail_notification(osv.Model):
_columns = {
'partner_id': fields.many2one('res.partner', string='Contact',
ondelete='cascade', required=True, select=1),
- 'is_read': fields.boolean('Read', select=1),
+ 'is_read': fields.boolean('Read', select=1, oldname='read'),
'starred': fields.boolean('Starred', select=1,
help='Starred message that goes into the todo mailbox'),
'message_id': fields.many2one('mail.message', string='Message',