summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2018-02-23 14:16:36 +0100
committerThibault Delavallée <tde@odoo.com>2018-03-20 13:25:30 +0100
commit2826edcfbea611f185867c171cbfd4136cc3b95b (patch)
treed3fe6461247af1163700ba8fedb297000fa314e7 /addons/web/static/src/js/fields/basic_fields.js
parent42a4b5488181576a19efbfb9a481a4d6262fd900 (diff)
[IMP] mail: use minimal context when rendering mail-related QWeb templates
Use option recently introduced to use a minimal context when rendering some mail templates such as * notification template used to decorate messages sent to recipient when using email-based notifications; * user assignation template used when people are assigned on a record and a notification is sent to inbox or email; * message_post_with_template now uses minimal context meaning calls to that method should be sure evaluation context is correctly set in the given values; This optimization allows to save some queries every time one of those template is used, meaning all tests gain between 1 to 4 queries depending on their complexity. This commit is related to task ID 1817951. Closes #23291 .
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions