OCA/server-tools

View on GitHub
sql_export/wizard/wizard_file_view.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>

        <record id="sql_file_wizard_view_form" model="ir.ui.view">
            <field name="name">sql.file.wizard.view.form</field>
            <field name="model">sql.file.wizard</field>
            <field name="arch" type="xml">
                <form string="Csv File">
                    <separator string="variables_placeholder" colspan="4" invisible="1"/>
                    <separator string="Export file" colspan="4"
                        attrs="{'invisible': [('binary_file', '=', False)]}"/>
                    <field name="binary_file" filename="file_name"/>
                    <field name="file_name" invisible="1"/>
                    <footer>
                        <button name="export_sql" string="Export" type="object"
                            icon="gtk-apply" />
                        or
                        <button special="cancel" string="Cancel" type="object"
                            icon="gtk-cancel" />
                    </footer>
                </form>
            </field>
        </record>

    </data>
</openerp>