[IMP] website_event_questions: correctly show question answers on event form view
This commit adds the display_name to the list of fields so that the view will correctly compute it and store it in the record state to be displayed by the associated m2m_tags widget. Without that small trick the display_name is never computed and the m2m_tags widget shows empty strings. LINKS PR #45497 Task ID 2189529
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
<page string="Answers" name="answers">
|
||||
<field name="answer_ids">
|
||||
<tree editable="bottom">
|
||||
<!-- 'display_name' is necessary for the many2many_tags to work on the event view -->
|
||||
<field name="display_name" invisible="1" />
|
||||
<field name="sequence" widget="handle" />
|
||||
<field name="name"/>
|
||||
</tree>
|
||||
|
||||
Reference in New Issue
Block a user