Browse Source

fix lint errors

pull/117/head
Ivan Yelizariev 8 years ago
committed by Ildar Nasyrov
parent
commit
da3a256ac0
No known key found for this signature in database GPG Key ID: D1FDACDF9B83578
  1. 4
      im_notif/doc/changelog.rst
  2. 4
      im_notif/im_notif_models.py

4
im_notif/doc/changelog.rst

@ -1,7 +1,7 @@
.. _changelog: .. _changelog:
Changelog
=========
Updates
=======
`1.0.1` `1.0.1`
------- -------

4
im_notif/im_notif_models.py

@ -6,7 +6,7 @@ from openerp.osv import fields as old_fields
from openerp.tools.translate import _ from openerp.tools.translate import _
class res_partner(models.Model):
class ResPartner(models.Model):
_inherit = 'res.partner' _inherit = 'res.partner'
_columns = { _columns = {
'notify_email': old_fields.selection([ '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' _inherit = 'mail.notification'
def get_recipients(self, cr, uid, ids, message, context=None): def get_recipients(self, cr, uid, ids, message, context=None):

Loading…
Cancel
Save