Ivan Yelizariev
8 years ago
committed by
Ildar Nasyrov
No known key found for this signature in database
GPG Key ID: D1FDACDF9B83578
2 changed files with
4 additions and
4 deletions
-
im_notif/doc/changelog.rst
-
im_notif/im_notif_models.py
|
@ -1,7 +1,7 @@ |
|
|
.. _changelog: |
|
|
.. _changelog: |
|
|
|
|
|
|
|
|
Changelog |
|
|
|
|
|
========= |
|
|
|
|
|
|
|
|
Updates |
|
|
|
|
|
======= |
|
|
|
|
|
|
|
|
`1.0.1` |
|
|
`1.0.1` |
|
|
------- |
|
|
------- |
|
|
|
@ -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): |
|
|