diff options
| author | David Monjoie <dmo@odoo.com> | 2015-11-19 10:41:39 +0100 |
|---|---|---|
| committer | David Monjoie <dmo@odoo.com> | 2015-11-19 11:22:34 +0100 |
| commit | 6e6d6362df3aab8e7f9d4cc7b19f74023916efeb (patch) | |
| tree | ff5eef4ad70cfde52922144e2003e0df93e07160 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 17b131b404f5cc63a10d449d5401bdb0c68d1cb5 (diff) | |
[FIX] website_sale_digital: fixed attachment count
The read_group function bypasses some restrictions, and in this case
was counting the "image", "image_small" and "image_medium" attachments
of the products, thus resulting in wrong attachment counts.
I changed it to a search_count which is cleaner, simplifies the code
a lot and, more importantly, returns the right values.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
