From bd0d951eefb5ee801dc6d8b74441808a36fba3e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Tue, 7 Dec 2021 10:30:28 +0000 Subject: [PATCH] [FIX] website_slides: fix choosing of templates in invite wizard ``channel_id`` field is used to compute ``render_model`` of invite wizard used to filter templates to choose. It is a fake trigger ensuring the render model field is computed, and then used in template domain (see ``mail.composer.mixin`` and ``mail.render.mixin``). As channel_id field is not available in view the domain computation for template_id is not updated. No template is therefore available in template m2o field in invite wizard. This commit fixes that by adding the channel_id field in the view, meaning render_model is now computed. Task-2709581 closes odoo/odoo#80947 Signed-off-by: Thibault Delavallee (tde) --- addons/website_slides/wizard/slide_channel_invite_views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/website_slides/wizard/slide_channel_invite_views.xml b/addons/website_slides/wizard/slide_channel_invite_views.xml index a9026c3b27c..293e5302d16 100644 --- a/addons/website_slides/wizard/slide_channel_invite_views.xml +++ b/addons/website_slides/wizard/slide_channel_invite_views.xml @@ -8,6 +8,7 @@
+