[FIX] survey: traceback while opening multiple answer question
The above two fields, which we are cleaning up, were added to fix the resequencing issue https://github.com/odoo/odoo/pull/108450. The other problem that remains here is that whenever we are opening the multiple choice question from the (survey.survey) form view after changing the question selection field, we get traceback. The problem was generic, so a more generic fix was pushed into the JS framework https://github.com/odoo/odoo/pull/116561 ,which solves the earlier resequencing issue. So here we are cleaning up the earlier fix, which is unnecessary now. And by this issue while opening multiple choice question also resolves. Task-3127646 closes odoo/odoo#120618 X-original-commit: c65c15eaab4b6e62e671c00a25d2aef2287d4387 Signed-off-by: Stéphane Debauche (std) <std@odoo.com>
This commit is contained in:
@@ -73,8 +73,6 @@
|
||||
<field name="constr_mandatory" optional="1"/>
|
||||
<field name="is_page" invisible="1"/>
|
||||
<field name="questions_selection" invisible="1"/>
|
||||
<field name="suggested_answer_ids" invisible="1"/>
|
||||
<field name="matrix_row_ids" invisible="1"/>
|
||||
<field name="survey_id" invisible="1"/>
|
||||
<field name="random_questions_count"
|
||||
attrs="{'column_invisible': [('parent.questions_selection', '=', 'all')], 'invisible': [('is_page', '=', False)]}"/>
|
||||
|
||||
Reference in New Issue
Block a user