Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

11.0 mail addons merge #235

Merged
merged 17 commits into from
Oct 25, 2019
Merged

Conversation

Ommo73
Copy link

@Ommo73 Ommo73 commented Oct 11, 2019

No description provided.

Copy link
Contributor

@itpp-bot itpp-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

└─ .travis.yml

4 installable modules are updated:

├─ mail_base/
|  ├─ README.rst
|  ├─ __init__.py
|  ├─ __manifest__.py
|  ├─ controllers/
|  |  └─ main.py
|  ├─ doc/
|  |  └─ changelog.rst
|  ├─ models.py
|  └─ static/
|     └─ lib/
|        └─ base.js
├─ mail_multi_website/
|  ├─ README.rst
|  ├─ __manifest__.py
|  ├─ doc/
|  |  └─ index.rst
|  └─ static/
|     └─ description/
|        └─ index.html
├─ mail_private/
|  ├─ __init__.py
|  ├─ __manifest__.py
|  ├─ doc/
|  |  └─ changelog.rst
|  ├─ full_composer_wizard.xml
|  ├─ i18n/
|  |  └─ mail_private.pot
|  ├─ models.py
|  ├─ static/
|  |  └─ src/
|  |     ├─ css/
|  |     |  └─ mail_private.css
|  |     ├─ js/
|  |     |  └─ mail_private.js
|  |     └─ xml/
|  |        └─ mail_private.xml
|  ├─ template.xml
|  └─ tests/
|     ├─ __init__.py
|     └─ test_js.py
└─ mail_to/
   ├─ __init__.py
   ├─ __manifest__.py
   ├─ doc/
   |  └─ changelog.rst
   ├─ i18n/
   |  └─ mail_to.pot
   ├─ models/
   |  ├─ __init__.py
   |  └─ mail_message.py
   ├─ static/
   |  └─ src/
   |     ├─ js/
   |     |  ├─ mail_to.js
   |     |  └─ test_mail_to.js
   |     └─ xml/
   |        └─ recipient.xml
   ├─ templates.xml
   └─ tests/
      ├─ __init__.py
      └─ test_default.py

Not installable modules remain unchanged.

sent by ✌️ Odoo Review Bot

mail_base/doc/changelog.rst Show resolved Hide resolved
mail_to/doc/changelog.rst Show resolved Hide resolved
mail_private/static/src/js/mail_private.js Outdated Show resolved Hide resolved
mail_private/static/src/js/mail_private.js Outdated Show resolved Hide resolved
mail_private/static/src/js/mail_private.js Outdated Show resolved Hide resolved
mail_private/static/src/js/mail_private.js Outdated Show resolved Hide resolved
mail_private/static/src/js/mail_private.js Outdated Show resolved Hide resolved
mail_private/static/src/js/mail_private.js Outdated Show resolved Hide resolved
mail_private/static/src/js/mail_private.js Outdated Show resolved Hide resolved
mail_private/static/src/js/mail_private.js Outdated Show resolved Hide resolved
mail_private/static/src/js/mail_private.js Outdated Show resolved Hide resolved
mail_private/static/src/js/mail_private.js Outdated Show resolved Hide resolved
@Ommo73 Ommo73 force-pushed the 11.0-mail_addons-merge2 branch from 759380a to e9e2bcb Compare October 17, 2019 09:34
@Ommo73 Ommo73 changed the title 11.0 mail addons merge2 11.0 mail addons merge Oct 17, 2019
Copy link

@Ramil-Mukhametzyanov Ramil-Mukhametzyanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mail_private: js file is changed and there is no record in the changelog and version is not changed

@Ommo73 Ommo73 force-pushed the 11.0-mail_addons-merge2 branch from e9e2bcb to ddb1528 Compare October 18, 2019 12:22
@@ -94,16 +98,72 @@ Chatter.include({
method: 'send_recepients_for_internal_message',
args: [[], self.context.default_model, follower_ids_domain]
}).then(function (res) {
return _.filter(res, function (obj) {
res['partners'] = _.filter(res['partners'], function (obj) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

['partners'] is better written in dot notation.

@@ -29,7 +30,8 @@ Chatter.include({
this.fetch_recipients_for_internal_message().then(function (data) {
self._openComposer({
is_private: true,
suggested_partners: data
suggested_partners: data['partners'],
suggested_channels: data['channels'],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

['channels'] is better written in dot notation.

@@ -29,7 +30,8 @@ Chatter.include({
this.fetch_recipients_for_internal_message().then(function (data) {
self._openComposer({
is_private: true,
suggested_partners: data
suggested_partners: data['partners'],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

['partners'] is better written in dot notation.

},

get_internal_users_ids: function () {
var ResUser = new Model('mail.compose.message');
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'Model' is not defined no-undef

return typeof channel !== 'undefined';
});

return new Model('mail.channel').call(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'Model' is not defined no-undef

self.customer = thread[0].partner_id;

// Fetch channels ids
return new Model('mail.followers').call(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'Model' is not defined no-undef

get_channels_for_internal_message: function () {
var self = this;
self.result = {};
return new Model(this.context.default_model).query(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'Model' is not defined no-undef

@@ -94,16 +98,72 @@ Chatter.include({
method: 'send_recepients_for_internal_message',
args: [[], self.context.default_model, follower_ids_domain]
}).then(function (res) {
return _.filter(res, function (obj) {
res['partners'] = _.filter(res['partners'], function (obj) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

["partners"] is better written in dot notation dot-notation

@@ -29,7 +30,8 @@ Chatter.include({
this.fetch_recipients_for_internal_message().then(function (data) {
self._openComposer({
is_private: true,
suggested_partners: data
suggested_partners: data['partners'],
suggested_channels: data['channels'],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

["channels"] is better written in dot notation dot-notation

@@ -29,7 +30,8 @@ Chatter.include({
this.fetch_recipients_for_internal_message().then(function (data) {
self._openComposer({
is_private: true,
suggested_partners: data
suggested_partners: data['partners'],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

["partners"] is better written in dot notation dot-notation

@Ommo73 Ommo73 force-pushed the 11.0-mail_addons-merge2 branch 4 times, most recently from 9087999 to ef604da Compare October 20, 2019 14:12
Copy link
Collaborator

@yelizariev yelizariev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing suspicious in the code

get_channels_for_internal_message: function () {
var self = this;
self.result = {};
return new Model(this.context.default_model).query(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is suspicious, obsolete function for v11

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KolushovAlexandr Yep! You're right. I fixed it

@Ommo73 Ommo73 force-pushed the 11.0-mail_addons-merge2 branch from ef604da to 57a9758 Compare October 22, 2019 08:33
`1.2.0`
-------

- **New**: added ability to select channels for private message sending.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 checked

@@ -1,3 +1,7 @@
`1.1.0`
-------
- **New**: added ability to select channels for private message sending.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 checked

`1.2.0`
-------

- **New**: added ability to select channels for private message sending.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 checked

`1.1.0`
-------

- **New**: channels are displayed in recipients

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 checked

`1.0.1`
-------

- **FIX:** The problem with duplicating the names of recipients was solved.
- **FIX**: the problem with duplicating the names of recipients was solved.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The -> the. Предлагаю обратно

Copy link

@em230418 em230418 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Надо исправить замечания от hound-а. Других серьезных замечаний нет.

*.po и *.pot файлы можно не добавлять. Бот занимается этими файлами. Изменения по ним не много, поэтому некритично.

@Ommo73 Ommo73 force-pushed the 11.0-mail_addons-merge2 branch from 57a9758 to fd6e85b Compare October 24, 2019 08:46
@em230418
Copy link

======== Testing test_flake8 ========

mail_private/models.py:62:9: F841 local variable 'group_user' is assigned to but never used

@Ommo73 Ommo73 force-pushed the 11.0-mail_addons-merge2 branch from fd6e85b to 8a1aee2 Compare October 25, 2019 08:22
@Ommo73 Ommo73 force-pushed the 11.0-mail_addons-merge2 branch from 8a1aee2 to 1914b4a Compare October 25, 2019 08:22
@yelizariev
Copy link
Collaborator

вливайте без меня

@em230418
Copy link

I approve to merge it now

@itpp-bot itpp-bot merged commit 0407ce3 into itpp-labs:11.0 Oct 25, 2019
@itpp-bot
Copy link
Contributor

Approved by @em230418

sent by 👷‍♂️ Merge Bot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants