From 8c8c266fe1f26a050baa8e6c0d96eb72dfb5aab7 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'