summaryrefslogtreecommitdiff
path: root/addons/website_livechat/static/src/xml/thread.xml
diff options
context:
space:
mode:
authorAurélien Warnon <awa@odoo.com>2019-09-13 13:22:26 +0000
committerAurélien Warnon <awa@odoo.com>2019-09-13 13:28:45 +0000
commit7b8178693e8fcd0b4104b6922bbb2312bf7cdd47 (patch)
treea2ede6351d221df7ca393e7e74064f32c7063afb /addons/website_livechat/static/src/xml/thread.xml
parent17237ff31c15984ad6cf891e2a54d726ed09b58a (diff)
[FIX] mass_mailing: avoid computing statistics when creating campaigns
When creating a new mass mailing campaign, the _compute_mailing_items method made a SQL request on an empty recordset. This resulted in a SQL request error ("id in ()"). This commit checks if there are self.ids to compute before executing the SQL. closes odoo/odoo#36872 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/website_livechat/static/src/xml/thread.xml')
0 files changed, 0 insertions, 0 deletions