diff options
| author | Florent Lejoly <fle@odoo.com> | 2019-09-19 08:25:31 +0000 |
|---|---|---|
| committer | Florent Lejoly <fle@odoo.com> | 2019-09-19 08:36:46 +0000 |
| commit | 397f86b962ec3d2bd31fbf2d809c1771ddf18d88 (patch) | |
| tree | 5272736e6d8d4e95c2e33fce59050fe5312a146e /addons/website_slides/views/slide_question_views.xml | |
| parent | 978f9ce2c6ccd7b69a1da454c43b1b735e0bc8cf (diff) | |
[FIX] website_slides: remove creation of quizz in reporting
Currently in the slide.question view it is possible to open a form
to create new questions for quizzes, but it is impossible to fill the form with
the required information to create a new question. So the create button has no purpose.
This as "slide_id" is required but can't be set in the form.
Now the option to add question from the reporting tab 'Quizzes'
is removed as the questions (with the answers) are added in the form from
slide.slide.
closes odoo/odoo#37117
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/website_slides/views/slide_question_views.xml')
| -rw-r--r-- | addons/website_slides/views/slide_question_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_slides/views/slide_question_views.xml b/addons/website_slides/views/slide_question_views.xml index b89be114c96..b238560c29b 100644 --- a/addons/website_slides/views/slide_question_views.xml +++ b/addons/website_slides/views/slide_question_views.xml @@ -40,7 +40,7 @@ <field name="model">slide.question</field> <field name="priority">20</field> <field name="arch" type="xml"> - <tree string="Quizzes"> + <tree string="Quizzes" create="0"> <field name="sequence" widget="handle"/> <field name="question"/> <field name="slide_id"/> |
