diff --git a/mail_base/__manifest__.py b/mail_base/__manifest__.py index be2a1bc..6a68514 100644 --- a/mail_base/__manifest__.py +++ b/mail_base/__manifest__.py @@ -6,7 +6,7 @@ "name": "Mail Base", "summary": """Makes Mail extendable""", "category": "Discuss", - "images": ['images/mail_base_image.png'], + "images": ["images/mail_base_image.png"], "version": "11.0.1.1.1", "author": "IT-Projects LLC, Pavel Romanchenko", "support": "apps@itpp.dev", diff --git a/mail_to/__manifest__.py b/mail_to/__manifest__.py index d33a9c3..3b0841a 100644 --- a/mail_to/__manifest__.py +++ b/mail_to/__manifest__.py @@ -1,5 +1,5 @@ # Copyright 2016 x620 -# Copyright 2016 Ivan Yelizariev +# Copyright 2016,2020 Ivan Yelizariev # Copyright 2018 Ruslan Ronzhin # Copyright 2019 Artem Rafailov # License MIT (https://opensource.org/licenses/MIT). @@ -8,7 +8,7 @@ "summary": """Allows you be sure, that all discussion participants were notified""", "category": "Discuss", "images": ["images/1.png"], - "version": "11.0.1.1.0", + "version": "11.0.1.1.1", "author": "IT-Projects LLC, Pavel Romanchenko", "support": "apps@itpp.dev", "website": "https://it-projects.info", diff --git a/mail_to/doc/changelog.rst b/mail_to/doc/changelog.rst index 18102bb..de0ff64 100644 --- a/mail_to/doc/changelog.rst +++ b/mail_to/doc/changelog.rst @@ -1,3 +1,8 @@ +`1.1.1` +------- + +- **Fix**: Error on sending bot commands + `1.1.0` ------- diff --git a/mail_to/static/src/js/mail_to.js b/mail_to/static/src/js/mail_to.js index 4fb6467..867580f 100644 --- a/mail_to/static/src/js/mail_to.js +++ b/mail_to/static/src/js/mail_to.js @@ -1,5 +1,5 @@ /* Copyright 2016 x620 - * Copyright 2016-2017 Ivan Yelizariev + * Copyright 2016-2017,2020 Ivan Yelizariev * Copyright 2017 Artyom Losev * Copyright 2019 Artem Rafailov * License MIT (https://opensource.org/licenses/MIT). */ @@ -13,7 +13,7 @@ odoo.define("mail_to.MailTo", function(require) { var msg = make_message_super.call(this, data); msg.partner_ids = data.partner_ids; msg.channel_names = data.channel_names; - msg.recipients = data.partner_ids.concat(data.channel_names); + msg.recipients = (data.partner_ids || []).concat(data.channel_names); if (!msg.partner_ids && !msg.channel_names) { return msg; }