[FIX] res.users in mail.thread: default value in notification_email_pref. Thanks...
authorThibault Delavallée <tde@openerp.com>
Wed, 4 Apr 2012 12:27:38 +0000 (14:27 +0200)
committerThibault Delavallée <tde@openerp.com>
Wed, 4 Apr 2012 12:27:38 +0000 (14:27 +0200)
bzr revid: tde@openerp.com-20120404122738-l5kp3bzgxqy4jn36

addons/mail/res_users.py

index e928edc..2a77f56 100644 (file)
@@ -40,7 +40,7 @@ class res_users(osv.osv):
                         help="Choose whether you want to receive an email when you receive new feeds."),
     }
     
-    _default = {
+    _defaults = {
         'notification_email_pref': 'all',
     }