Skip to content

[18.0][FIX] mail_tracking: Retry wizard was empty when reopened - #262

Open
CarlosRoca13 wants to merge 1 commit into
OCA:18.0from
Tecnativa:18.0-FIX-mail_tracking
Open

[18.0][FIX] mail_tracking: Retry wizard was empty when reopened#262
CarlosRoca13 wants to merge 1 commit into
OCA:18.0from
Tecnativa:18.0-FIX-mail_tracking

Conversation

@CarlosRoca13

Copy link
Copy Markdown
Contributor

Reopening the resend wizard on a failed message showed no recipients at all, leaving no way to retry the delivery.

The wizard deduplicated its own lines with a search over the whole mail.resend.partner table instead of scoping it to the current wizard. Those transient records survive between openings until the vacuum removes them, so the second time the wizard was opened the search matched the records created by the first one and every tracking was skipped.

cc @Tecnativa

ping @pedrobaeza @christian-ramos-tecnativa

Reopening the resend wizard on a failed message showed no recipients at all, leaving no way to retry the delivery.

The wizard deduplicated its own lines with a search over the whole mail.resend.partner table instead of scoping it to the current wizard. Those transient records survive between openings until the vacuum removes them, so the second time the wizard was opened the search matched the records created by the first one and every tracking was skipped.
@CarlosRoca13 CarlosRoca13 changed the title [FIX] mail_tracking: Retry wizard was empty when reopened [18.0][FIX] mail_tracking: Retry wizard was empty when reopened Sep 4, 2026
@pedrobaeza pedrobaeza added this to the 18.0 milestone Sep 5, 2026

@pedrobaeza pedrobaeza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Code review. I wonder if we can reuse existing mail.notification, but this will be maybe more hackish, so let's continue with the creation of a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants