From 629e216efde675a191eff83eeddeeea32cbd88e5 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Wed, 15 Aug 2012 22:02:46 +0200 Subject: [PATCH] [IMP] comment bzr revid: fp@openerp.com-20120815200246-bns99yzzstl074t1 --- addons/mail/mail_subscription.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/addons/mail/mail_subscription.py b/addons/mail/mail_subscription.py index 47df6f14cf7..f5ca21f0fa1 100644 --- a/addons/mail/mail_subscription.py +++ b/addons/mail/mail_subscription.py @@ -63,6 +63,12 @@ class mail_notification(osv.osv): _defaults = { 'read': False, } + + # FP Note: todo: check that we can not create a notification for + # a message we can not read. + # def create(self, ...) + + # Create notification in the wall of each user # Send by email the notification depending on the user preferences def notify(self, cr, uid, partner_ids, msg_id, context=context):