diff options
| author | Sébastien Theys <seb@odoo.com> | 2019-08-26 15:50:28 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2019-08-26 15:50:28 +0000 |
| commit | f10f120de3017bc8d0e9a5ac72eeec1280374a1d (patch) | |
| tree | 4ac95c64dd0767d97088042aef451dcd2f54cd55 /addons/website/tools.py | |
| parent | cab25b690cd9541801e553a9f50512d2db126647 (diff) | |
[IMP] base: remove default image from res.partner
Processing the default image takes too much time.
Creating 1000 partners without image takes around:
- 7s before this commit
- 1.5s after this commit
Moreover by saving the default image it's impossible to tell which partners
have a default image and which have an actual image.
After this commit, the views should handle displaying a placeholder when no
image is set, which is already the case since the default image could already be
missing if it was removed from `write`.
closes odoo/odoo#36093
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/website/tools.py')
0 files changed, 0 insertions, 0 deletions
