summaryrefslogtreecommitdiff
path: root/addons/project/data/project_data.xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2018-01-11 14:34:00 +0100
committerThibault Delavallée <tde@odoo.com>2018-02-26 14:14:10 +0100
commit2238408d51659c06da1b1a88d2d8a177c8febcb9 (patch)
tree3c4b5d1d429e2364a44b752de8a570562cb55dfb /addons/project/data/project_data.xml
parent97ee12e9c7cca4ac9a83b357b00d4d212f652efd (diff)
[REM] mail: remove unnecessary context switch in mail send method
Commit 0d3d0e95636cf8ae0d52c650a28f505a89c3dc89 added a key in context when sending emails to know the target model name. It was used at that time to forge for footer of notification emails. Since that time notification emails have evolved a lot. The code based on that context key has been removed. Context key has been transformed into a context switch. However it is not used anymore and can be removed. It allows to clean a bit the code and save a context switch. This commit is purely technical and does not hold any functional change. Purpose is to clean code in order to prepare future changes in mail application. This commit allows to gain some queries in mail sending process, meaning removing context switch is interesting. One query is gained when using the send process. Complex performance test involving several message post gain 3 queries each.
Diffstat (limited to 'addons/project/data/project_data.xml')
0 files changed, 0 insertions, 0 deletions