summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/snippets.editor.js
diff options
context:
space:
mode:
authorDavid Monjoie <dmo@odoo.com>2016-06-10 11:02:11 +0200
committerDavid Monjoie <dmo@odoo.com>2016-06-14 09:37:35 +0200
commit1a1efe3fce12c3bb1dd47021c895e944638941f4 (patch)
tree49b0f69ee635b4da9436ca832014c9771040d394 /addons/web_editor/static/src/js/snippets.editor.js
parent9416483465d749749a24838ba4c5ea154633bf6d (diff)
[IMP] website_sale_digital: downloadable attachment marked by product_downloadable field
This allows the user to continue using the attachment feature, without making it public by default, which was the case in the previous implementation. If you wanted to use the product digital attachments, you were foresaking the standard attachment feature since everything you would attach to the product would then be public and downloadable. The "digital" product type was also removed, because you could very well want to provide downloads for a stockable product, like an online manual or a warranty document, or provide downloads for a service, especially considering digital products are considered service in european laws. The product template and variants stat buttons have also been changed: - The template stat button now only displays the files associated at the template level, instead of showing all the files available accross all variants. - The variant stat button now displays the files associated with it but also with the corresponding template, instead of showing only the files associated with the variant. These new stat buttons are closer to what the customer will see in practice, since the variant level stat button will show the set of files that the customer will be able to download when he has bought that product variant. Previously, the template showed a set of files that was never presented to any customer (since it contained the files from all the variants at once), and the variant was showing less files, since it was ignoring the ones from the template.
Diffstat (limited to 'addons/web_editor/static/src/js/snippets.editor.js')
0 files changed, 0 insertions, 0 deletions