diff --git a/mail_base/__init__.py b/mail_base/__init__.py index c3d410ea..811556a9 100644 --- a/mail_base/__init__.py +++ b/mail_base/__init__.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# License LGPL-3.0 (https://www.gnu.org/licenses/lgpl.html) from . import models from . import controllers diff --git a/mail_base/__manifest__.py b/mail_base/__manifest__.py index adf46b68..8cd75b8a 100644 --- a/mail_base/__manifest__.py +++ b/mail_base/__manifest__.py @@ -1,10 +1,14 @@ # -*- coding: utf-8 -*- +# Copyright 2016 x620 +# Copyright 2018 Ruslan Ronzhin +# Copyright 2016-2019 Ivan Yelizariev +# License LGPL-3.0 (https://www.gnu.org/licenses/lgpl.html) { "name": "Mail Base", "summary": """Makes Mail extendable""", "category": "Discuss", "images": [], - "version": "10.0.1.0.5", + "version": "10.0.1.1.0", "author": "IT-Projects LLC, Pavel Romanchenko", "support": "apps@it-projects.info", diff --git a/mail_base/controllers/main.py b/mail_base/controllers/main.py index 8463aed3..429e6f9f 100644 --- a/mail_base/controllers/main.py +++ b/mail_base/controllers/main.py @@ -1,4 +1,7 @@ # -*- coding: utf-8 -*- +# Copyright 2017 mikaelh +# Copyright 2017-2019 Ivan Yelizariev +# License LGPL-3.0 (https://www.gnu.org/licenses/lgpl.html) from openerp.http import request from openerp.addons.bus.controllers.main import BusController diff --git a/mail_base/doc/changelog.rst b/mail_base/doc/changelog.rst index d1474d81..8825558c 100644 --- a/mail_base/doc/changelog.rst +++ b/mail_base/doc/changelog.rst @@ -1,3 +1,7 @@ +`1.1.0` +------- +- **New**: added ability to select channels for private message sending. + `1.0.5` ------- **FIX**: polling errors on heavy server load diff --git a/mail_base/models.py b/mail_base/models.py index 953f49fa..cc2a61e8 100644 --- a/mail_base/models.py +++ b/mail_base/models.py @@ -1,4 +1,7 @@ # -*- coding: utf-8 -*- +# Copyright 2016 x620 +# Copyright 2017 Ivan Yelizariev +# License LGPL-3.0 (https://www.gnu.org/licenses/lgpl.html) from openerp import api, models diff --git a/mail_base/static/lib/base.js b/mail_base/static/lib/base.js index ce597647..ccfbbcd0 100644 --- a/mail_base/static/lib/base.js +++ b/mail_base/static/lib/base.js @@ -1,3 +1,6 @@ +/* Copyright 2017 Artyom Losev + Copyright 2019 Artem Rafailov + License LGPL-3.0 (https://www.gnu.org/licenses/lgpl.html). */ odoo.define('mail_base.base', function (require) { "use strict"; @@ -1059,6 +1062,7 @@ chat_manager.post_message = function (data, options) { options = options || {}; var msg = { partner_ids: data.partner_ids, + channel_ids: data.channel_ids, body: _.str.trim(data.content), attachment_ids: data.attachment_ids };