<?xml version="1.0"?>
<form string="Question Answer Form">
                <sheet>
                    <field name="question_type" invisible="1"/>
                    <group>
                        <group>
                            <field name="scoring_type" invisible="1"/>
                            <field name="question_id"/>
                            <field name="is_correct" attrs="{'invisible': [('scoring_type', '=', 'no_scoring')]}"/>
                            <field name="answer_score" attrs="{'invisible': ['|', ('scoring_type', '=', 'no_scoring'), ('question_type', '=', 'matrix')]}"/>
                            <field name="value_image"/>
                        </group>
                        <group>
                            <field name="value"/>
                            <field name="matrix_question_id" attrs="{'invisible': [('question_type', '!=', 'matrix')]}"/>
                            <field name="sequence"/>
                        </group>
                    </group>
                </sheet>
            </form>
        