Skip to content
Browse files

[FIX] website_slides: fixed the traceback when add a new section on a…

… course

in this commit, we have set the correct attribute(field's name) to fix
the traceback while we adding a new section on a course using website


closes #35786

Signed-off-by: Thibault Delavallee (tde) <>
  • Loading branch information...
hap-odoo authored and jpr-odoo committed Aug 16, 2019
1 parent 8710a28 commit 230c544caa7e2698f53bd54382a071099e3f21f9
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/website_slides/controllers/
@@ -143,7 +143,7 @@ def _get_new_slide_category_values(self, channel, name):
'is_category': True,
'is_published': True,
'sequence': channel.slide_ids[-1]['sequence'] + 1 if channel.slide_id else 1,
'sequence': channel.slide_ids[-1]['sequence'] + 1 if channel.slide_ids else 1,


0 comments on commit 230c544

Please sign in to comment.
You can’t perform that action at this time.