diff --git a/im_notif/doc/changelog.rst b/im_notif/doc/changelog.rst index e189573..981e0e8 100644 --- a/im_notif/doc/changelog.rst +++ b/im_notif/doc/changelog.rst @@ -1,7 +1,7 @@ .. _changelog: -Changelog -========= +Updates +======= `1.0.1` ------- diff --git a/im_notif/im_notif_models.py b/im_notif/im_notif_models.py index 58d06c1..f45e50d 100644 --- a/im_notif/im_notif_models.py +++ b/im_notif/im_notif_models.py @@ -6,7 +6,7 @@ from openerp.osv import fields as old_fields from openerp.tools.translate import _ -class res_partner(models.Model): +class ResPartner(models.Model): _inherit = 'res.partner' _columns = { 'notify_email': old_fields.selection([ @@ -22,7 +22,7 @@ class res_partner(models.Model): } -class mail_notification(models.Model): +class MailNotification(models.Model): _inherit = 'mail.notification' def get_recipients(self, cr, uid, ids, message, context=None):