From 339a2a4f8b391f89780670006d0424cab233dcb1 Mon Sep 17 00:00:00 2001 From: Ivan Yelizariev Date: Fri, 10 Apr 2015 16:49:02 +0200 Subject: [PATCH] keep built-in default value for notify_email field, because im_and_email value can bring a problems after uninstalling the module. --- im_notif/im_notif_models.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/im_notif/im_notif_models.py b/im_notif/im_notif_models.py index fa8ba72..840f14f 100644 --- a/im_notif/im_notif_models.py +++ b/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): _inherit = 'mail.notification'