<?xml version="1.0"?>
<form string="Report">
                    <sheet>
                        <div class="oe_button_box" name="button_box">
                            <button name="create_action" type="object" invisible="binding_model_id" icon="fa-plus-square" help="Display an option on related documents to print this report" class="oe_stat_button">
                                    <div class="o_field_widget o_stat_info">
                                        <span class="o_stat_text">Add to the 'Print' menu</span>
                                    </div>
                            </button>
                            <button name="unlink_action" type="object" invisible="not binding_model_id" icon="fa-minus-square" help="Remove the contextual action related to this report" class="oe_stat_button">
                                    <div class="o_field_widget o_stat_info">
                                        <span class="o_stat_text">Remove from the 'Print' menu</span>
                                    </div>
                            </button>
                            <button name="associated_view" type="object" invisible="report_type not in ['qweb-pdf', 'qweb-html', 'qweb-text']" icon="fa-code" class="oe_stat_button">
                                    <div class="o_field_widget o_stat_info">
                                        <span class="o_stat_text">Qweb Views</span>
                                    </div>
                            </button>
                        </div>
                        <group>
                            <group>
                                <field name="name"/>
                                <field name="report_type"/>
                                <field name="paperformat_id" invisible="report_type != 'qweb-pdf'"/>
                            </group>
                            <group>
                                <field name="model"/>
                                <field name="report_name"/>
                                <field name="print_report_name"/>
                            </group>
                        </group>
                        <notebook>
                            <page name="security" string="Visibility">
                                <field name="groups_id"/>
                            </page>
                            <page name="advanced" string="Advanced Properties">
                                <group>
                                    <field name="attachment_use"/>
                                    <field name="attachment"/>
                                </group>
                            </page>
                        </notebook>
                    </sheet>
                </form>
            