summaryrefslogtreecommitdiff
path: root/addons/website_slides/views/slide_slide_views.xml
diff options
context:
space:
mode:
authorAurélien Warnon <awa@odoo.com>2020-02-21 12:36:45 +0000
committerAurélien Warnon <awa@odoo.com>2020-02-24 11:51:38 +0000
commit30122c8c7b4f6cb36823c17aa15dfd62a34c2c08 (patch)
tree874d59e89c8b56ed32680f66ed164c18f95b41d4 /addons/website_slides/views/slide_slide_views.xml
parent7a928bbdfbaa9af0565d06d94a089e07e950456f (diff)
[FIX] website_slides: fix slide.slide category creation from kanban view
This commit fixes an issue that raised an error when trying to create a slide.slide of type "category" on the slide.slide kanban view. Since it's not possible to disable the "group creation" on the kanban for a single filter, we disable it globally. At the same time, we removed the capability to drag and drop slides in that view. It was not very useful and could mess up the records by changing the slide type without changing the associated data (video link, presentation file, ...). Issue #45452 Task 2201878 closes odoo/odoo#46083 X-original-commit: ae2117886d0a71be37525b63ee8456a11aee213c Signed-off-by: awa-odoo <awa-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/website_slides/views/slide_slide_views.xml')
-rw-r--r--addons/website_slides/views/slide_slide_views.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/website_slides/views/slide_slide_views.xml b/addons/website_slides/views/slide_slide_views.xml
index 70e169e084f..33171ab6c98 100644
--- a/addons/website_slides/views/slide_slide_views.xml
+++ b/addons/website_slides/views/slide_slide_views.xml
@@ -155,7 +155,9 @@
<field name="name">slide.slide.view.kanban</field>
<field name="model">slide.slide</field>
<field name="arch" type="xml">
- <kanban edit="false" class="o_slide_kanban">
+ <kanban edit="false" group_create="0"
+ records_draggable="0"
+ class="o_slide_kanban">
<field name="id"/>
<field name="channel_id"/>
<field name="slide_type"/>