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

[16.0][MIG] mail_tracking: Migration to 16.0 #1091

Closed
wants to merge 150 commits into from

Conversation

maq-adhoc
Copy link

I restart the mail tracking migration, taking changes from PR #1029 and adding my own changes.
I restarted to be able to do it with the odoo-module-migrate tool and the commits are clean and include PRs #1053 ,#1056 ,#1057.
I also modified the way we inherit MessagingInitializer so that it does not conflict with other modules, e.g. Voip.

antespi and others added 30 commits March 2, 2023 09:48
* [ADD] mail_tracking addon

* Add description icon

* Fixes remarked

* Fix Travis error

* Remarks fixed
…ent events (OCA#82)

[IMP] mail_tracking: Speed installation time, discard concurrent events and other fixes
* Improve tests
* Show trackings even if partner removed
* Disable CSRF protection to webhooks controllers
As regular users can't access this object.
* [FIX] Only one data-odoo-tracking-email tag in each email
* [FIX] Get status even in multicompany instances
On our server,
queries based on "mail_tracking_event"."tracking_email_id" improved from 501,924 ms to 1,840 ms
queries based on "mail_tracking_email"."mail_message_id" improved from 167,436 ms to 3,223 ms

The last ones are run several times when a thread has many messages
Currently translated at 100.0% (82 of 82 strings)

Translation: social-11.0/social-11.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-11-0/social-11-0-mail_tracking/fr/
For giving more priority to other buttons like the invoices one.
Currently translated at 96.3% (79 of 82 strings)

Translation: social-11.0/social-11.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-11-0/social-11-0-mail_tracking/ca/
Or infinite recursions will happen on other `write` overwrites, like the one that happens
on `mass_mailing_partner`.
Copy link
Contributor

@nguyenminhchien nguyenminhchien left a comment

Choose a reason for hiding this comment

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

lgtm

@bhaveshselarka
Copy link

#1191

Copy link
Contributor

@payen000 payen000 left a comment

Choose a reason for hiding this comment

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

I tested this functionally and seems to be working as expected.

This will be ready to merge once the unused files are deleted and the commits are sorted out (as there are too many commits right now).

Edit:

My bad, I didn't realize the many commits were the module's commit history.

compute() {
switch (this) {
case this.messaging.failedmsg:
return this.env._t("Failedmsg");
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
return this.env._t("Failedmsg");
return this.env._t("Failed");

To maintain consistency with previous versions, I think this shoud say "Failed" instead.

@@ -0,0 +1,58 @@
/** @odoo-module **/
Copy link
Contributor

Choose a reason for hiding this comment

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

This file seems to not be needed anymore, so we can delete it

@@ -0,0 +1,411 @@
/* Copyright 2019 Alexandre Díaz
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this file in use? If not, I think we should delete it before merging

@payen000
Copy link
Contributor

payen000 commented Aug 8, 2023

Hello @maq-adhoc,

I left some comments for you, could you check them please?

I believe the module is working as it should and will be ready to merge once we delete the unused file(s) and switch "Failedmsg" by "Failed", or is there anything else that I'm missing?

Copy link

@cvinh cvinh left a comment

Choose a reason for hiding this comment

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

Hello
Could you please forward port this PR : #941 ?
Thanks

@payen000
Copy link
Contributor

payen000 commented Sep 5, 2023

Superseded by #1216

However, I do believe this PR was already working properly, I'm only opening the other PR due to inactivity here, as I need the module working in v16 as soon as possible.

payen000 added a commit to vauxoo-dev/social that referenced this pull request Sep 6, 2023
Refactored MessagingInitializer's Init method so that it does not
conflict with other modules; see original PR:

OCA#1091

Co-authored-by: filoquin <filoquin@gmail.com>
payen000 added a commit to vauxoo-dev/social that referenced this pull request Sep 8, 2023
Refactored MessagingInitializer's Init method so that it does not
conflict with other modules; see original PR:

OCA#1091

Co-authored-by: filoquin <filoquin@gmail.com>
payen000 added a commit to vauxoo-dev/social that referenced this pull request Sep 9, 2023
Refactored MessagingInitializer's Init method so that it does not
conflict with other modules; see original PR:

OCA#1091

Co-authored-by: filoquin <filoquin@gmail.com>
payen000 added a commit to vauxoo-dev/social that referenced this pull request Sep 9, 2023
Refactored MessagingInitializer's Init method so that it does not
conflict with other modules; see original PR:

OCA#1091

Co-authored-by: filoquin <filoquin@gmail.com>
payen000 added a commit to vauxoo-dev/social that referenced this pull request Sep 9, 2023
Refactored MessagingInitializer's Init method so that it does not
conflict with other modules; see original PR:

OCA#1091

Co-authored-by: filoquin <filoquin@gmail.com>
payen000 added a commit to vauxoo-dev/social that referenced this pull request Sep 10, 2023
Refactored MessagingInitializer's Init method so that it does not
conflict with other modules; see original PR:

OCA#1091

Co-authored-by: filoquin <filoquin@gmail.com>
payen000 added a commit to vauxoo-dev/social that referenced this pull request Sep 10, 2023
Refactored MessagingInitializer's Init method so that it does not
conflict with other modules; see original PR:

OCA#1091

Co-authored-by: filoquin <filoquin@gmail.com>
payen000 added a commit to vauxoo-dev/social that referenced this pull request Sep 11, 2023
Refactored MessagingInitializer's Init method so that it does not
conflict with other modules; see original PR:

OCA#1091

Co-authored-by: filoquin <filoquin@gmail.com>
payen000 added a commit to vauxoo-dev/social that referenced this pull request Sep 11, 2023
Refactored MessagingInitializer's Init method so that it does not
conflict with other modules; see original PR:

OCA#1091

Co-authored-by: filoquin <filoquin@gmail.com>
payen000 added a commit to vauxoo-dev/social that referenced this pull request Sep 11, 2023
Refactored MessagingInitializer's Init method so that it does not
conflict with other modules; see original PR:

OCA#1091

Co-authored-by: filoquin <filoquin@gmail.com>
payen000 added a commit to vauxoo-dev/social that referenced this pull request Sep 12, 2023
Refactored MessagingInitializer's Init method so that it does not
conflict with other modules; see original PR:

OCA#1091

Co-authored-by: filoquin <filoquin@gmail.com>
payen000 added a commit to vauxoo-dev/social that referenced this pull request Sep 12, 2023
Refactored MessagingInitializer's Init method so that it does not
conflict with other modules; see original PR:

OCA#1091

Co-authored-by: filoquin <filoquin@gmail.com>
payen000 added a commit to vauxoo-dev/social that referenced this pull request Sep 16, 2023
Refactored MessagingInitializer's Init method so that it does not
conflict with other modules; see original PR:

OCA#1091

Co-authored-by: filoquin <filoquin@gmail.com>
payen000 added a commit to vauxoo-dev/social that referenced this pull request Sep 20, 2023
Refactored MessagingInitializer's Init method so that it does not
conflict with other modules; see original PR:

OCA#1091

Co-authored-by: filoquin <filoquin@gmail.com>
payen000 added a commit to vauxoo-dev/social that referenced this pull request Sep 20, 2023
Refactored MessagingInitializer's Init method so that it does not
conflict with other modules; see original PR:

OCA#1091

Co-authored-by: filoquin <filoquin@gmail.com>
payen000 added a commit to vauxoo-dev/social that referenced this pull request Sep 20, 2023
Refactored MessagingInitializer's Init method so that it does not
conflict with other modules; see original PR:

OCA#1091

Co-authored-by: filoquin <filoquin@gmail.com>
@pedrobaeza pedrobaeza closed this Sep 21, 2023
payen000 added a commit to vauxoo-dev/social that referenced this pull request Sep 21, 2023
Refactored MessagingInitializer's Init method so that it does not
conflict with other modules; see original PR:

OCA#1091

Co-authored-by: filoquin <filoquin@gmail.com>
payen000 added a commit to vauxoo-dev/social that referenced this pull request Sep 21, 2023
Redo of PRs

- OCA#1091
- OCA#1191

Co-authored-by: filoquin <filoquin@gmail.com>
payen000 added a commit to vauxoo-dev/social that referenced this pull request Sep 21, 2023
Redo of PRs

- OCA#1091
- OCA#1191

Co-authored-by: filoquin <filoquin@gmail.com>
SiesslPhillip pushed a commit to grueneerde/OCA-social that referenced this pull request Nov 20, 2024
Syncing from upstream OCA/social (12.0)
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.