summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable
diff options
context:
space:
mode:
authorDavid Monjoie <dmo@odoo.com>2015-11-19 10:41:39 +0100
committerDavid Monjoie <dmo@odoo.com>2015-11-19 11:22:34 +0100
commit6e6d6362df3aab8e7f9d4cc7b19f74023916efeb (patch)
treeff5eef4ad70cfde52922144e2003e0df93e07160 /addons/web/static/lib/jquery.mjs.nestedSortable
parent17b131b404f5cc63a10d449d5401bdb0c68d1cb5 (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/lib/jquery.mjs.nestedSortable')
0 files changed, 0 insertions, 0 deletions