-
- Downloads
[REF] mail: simplify and rename message_route_verify
PURPOSE Add some improvements in mail gateway: remove private discussion, improve bounce management, allow resetting bounce counters, improve automatic set or reset of blacklists and ease mass mailing inheritance. SPECIFICATIONS Purpose: clean mail gateway code by cleaning message_route_verify ``message_route_verify`` is therefore renamed to ``_routing_check_route`` as there are already some methods prefixed by routing, related to email routing. This method is also made private as it has no real use for external world. Parameters of this method are also cleaned. Various cleanings and code improvements made some parameters not necessary anymore : * create_fallback: was always True; * update_author: was always True; * drop alias: no real use as aliases are used to compute the route and its access, dropping it at that point has no effect on code; * assert_model: renamed to raise_exception to be more coherent with the same kind of parameter used in Odoo; LINKS Related to task 1893155 Linked to PR #33340
Loading
Please register or sign in to comment