summaryrefslogtreecommitdiff
path: root/addons/website_slides/static/src/xml/website_slides_upload.xml
diff options
context:
space:
mode:
authorAurélien Warnon <awa@odoo.com>2019-08-07 06:01:35 +0000
committerThibault Delavallée <tde@odoo.com>2019-08-12 15:40:36 +0000
commit5e4f37a1f88b549e02273edb93611e47abdecd61 (patch)
treec68d302cbba4a83d74e1514c717e7a1ea76a9c34 /addons/website_slides/static/src/xml/website_slides_upload.xml
parent5269d8c27f9f5e7b2d0ab86db6423f6ffa227f40 (diff)
[REF] website_slides: remove index_content field from slide.slide
The 'index_content' field was only filled when uploading from the frontend. That would lead to inconsistent results when creating/updating 'presentation' slides from the slide.slide form view. The field was also not cleaned if the slide content changed. As it's usage was not very clear (only on a 'search', and not very intuitive), we simply removed the field.
Diffstat (limited to 'addons/website_slides/static/src/xml/website_slides_upload.xml')
-rw-r--r--addons/website_slides/static/src/xml/website_slides_upload.xml1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/website_slides/static/src/xml/website_slides_upload.xml b/addons/website_slides/static/src/xml/website_slides_upload.xml
index e5d5e0d839f..877e8b9d967 100644
--- a/addons/website_slides/static/src/xml/website_slides_upload.xml
+++ b/addons/website_slides/static/src/xml/website_slides_upload.xml
@@ -89,7 +89,6 @@
<label for="upload" class="col-form-label">PDF or Image File</label>
</h5>
<input id="upload" name="file" class="form-control" accept="image/*,application/pdf" type="file" required="required"/>
- <input id="index_content" name="index_content" type="hidden"/>
</li>
</ul>
</div>