New module link_tracker_usability
This commit is contained in:
committed by
Alexis de Lattre
parent
ea4c6df7d6
commit
70d7cbdfda
@@ -14,6 +14,7 @@ class ResPartner(models.Model):
|
|||||||
selection_add=[
|
selection_add=[
|
||||||
('all_except_notification', 'All Messages Except Notifications')],
|
('all_except_notification', 'All Messages Except Notifications')],
|
||||||
default='all_except_notification')
|
default='all_except_notification')
|
||||||
|
opt_out = fields.Boolean(track_visibility='onchange')
|
||||||
|
|
||||||
def _should_be_notify_by_email(self, message):
|
def _should_be_notify_by_email(self, message):
|
||||||
if message.message_type == 'notification':
|
if message.message_type == 'notification':
|
||||||
|
|||||||
Reference in New Issue
Block a user