summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function.py
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2014-11-25 14:36:56 +0100
committerDenis Ledoux <dle@odoo.com>2014-11-25 14:39:54 +0100
commita3e578068e170df41ef95c00026bc2351c9e2c13 (patch)
tree2b862be2f11d1a151ed8e04225a0d7614c1d9298 /addons/analytic_user_function/analytic_user_function.py
parent20a8b0e66a86c130f7b005aa9a5efead05eb0014 (diff)
[FIX] website: improve performance for attachment creation
website introduces two new stored function fields, which depend on the attachment data The thing is, these two fields are pertinent for website attachments only Therefore, we avoid to read the datas field when the attachment is not a website attachment(when not needed), as this is the most costly field to read
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions