Browse Source

keep built-in default value for notify_email field,

because im_and_email value can bring a problems after uninstalling the module.
pull/117/head
Ivan Yelizariev 10 years ago
committed by Ildar Nasyrov
parent
commit
8c8c266fe1
No known key found for this signature in database GPG Key ID: D1FDACDF9B83578
  1. 4
      im_notif/im_notif_models.py

4
im_notif/im_notif_models.py

@ -19,10 +19,6 @@ class res_partner(models.Model):
), ),
} }
_defaults = {
'notify_email': lambda *args: 'im_and_email'
}
class mail_notification(models.Model): class mail_notification(models.Model):
_inherit = 'mail.notification' _inherit = 'mail.notification'

Loading…
Cancel
Save