From 859f054302a687792450d87614d0856ba0709f8b Mon Sep 17 00:00:00 2001 From: "Laurent Mignon (ACSONE)" Date: Wed, 21 Sep 2016 15:26:27 +0200 Subject: [PATCH] Don't store channel names since the perf gain is negligible and not worth additional database columns. --- web_notify/models/res_users.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web_notify/models/res_users.py b/web_notify/models/res_users.py index ea7eb12e..51147455 100644 --- a/web_notify/models/res_users.py +++ b/web_notify/models/res_users.py @@ -18,9 +18,9 @@ class ResUsers(models.Model): record.notify_warning_channel_name = 'notify_warning_%s' % res_id notify_info_channel_name = fields.Char( - compute='_compute_channel_names', store=True) + compute='_compute_channel_names') notify_warning_channel_name = fields.Char( - compute='_compute_channel_names', store=True) + compute='_compute_channel_names') @api.multi def notify_info(self, message, title=None, sticky=False):