Odoo's Mergebot d9912d7657 [FW][MERGE][FIX] mass_mailing: correctly update mailing statistics replied status
PURPOSE

Fix trace state management in mass mailing: correctly compute state
and better support incoming email headers.

SPECIFICATIONS: STATE

Trace status is a computed field based on other fields. Those store the
datetime at which a specific action has been performed: opened, replied,
bounced, ... depending on those fields status of trace is computed.

Replied / Bounced / Opened states should be computed prior to Sent state.
Indeed Sent is the default state once the email is sent. Then replied,
bounced and opened are states that happen after sending the email. It
is therefore necessary to re-order the state computation to correctly compute
the statistic state.

SPECIFICATIONS:GATEWAY

Consider an email going through the mail gateway. Its headers References
and In-Reply-To are used in mail gateway to find if it is an answer to an
existing discussion thread.

Notably in mass mailing it is used to set mailing traces (called statistics
in 11.0) as opened and replied. However currently only the References header
is used.

In this commit we now use References or In-Reply-To like what is done in
mail gateway.

LINKS

Task ID 2257717
PR #51247

closes odoo/odoo#51490

Forward-port-of: odoo/odoo#51445
Forward-port-of: odoo/odoo#51247
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-05-18 20:10:59 +02:00
2020-05-18 11:41:07 +00:00
2020-04-20 11:41:39 +00:00
…
2019-10-03 12:48:09 +00:00
…
…
…
2019-11-08 11:24:04 +00:00
2019-10-03 12:48:09 +00:00

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%