Skip to content

Commit

Permalink
[IMP] website_event: change attrs to invisible attribute
Browse files Browse the repository at this point in the history
since 17.0 attrs is no more used, replacing the existing
usage with invisible attribute

closes odoo#134962

Signed-off-by: Jérémy Hennecart (jeh) <jeh@odoo.com>
  • Loading branch information
niyasraphy committed Sep 19, 2023
1 parent baf85a8 commit 76effb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/website_event/views/event_registration_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
</strong>
</div>
<field name="value_answer_id"
attrs="{'invisible': [('question_type', '!=', 'simple_choice')]}"
invisible="question_type != 'simple_choice'"
domain="[('question_id', '=', question_id)]" options="{'no_create': True}"/>
<field name="value_text_box"
attrs="{'invisible': [('question_type', '=', 'simple_choice')]}"/>
invisible="question_type == 'simple_choice'"/>
</div>
</t>
</templates>
Expand Down

0 comments on commit 76effb5

Please sign in to comment.