<?xml version="1.0"?>
<form string="Install the application">
                    <field name="state" invisible="1"/>
                    <p class="alert alert-warning" role="alert" invisible="state == 'done' or context.get('data_module')">Note: you can only import data modules (.xml files and static assets)</p>
                    <field name="modules_dependencies" readonly="1" nolabel="1" invisible="state == 'done'"/>
                    <group invisible="state != 'init'">
                        <field name="module_file" string="Module file (.zip)" options="{'accepted_file_extensions': '.zip'}" invisible="context.get('data_module')"/>
                        <field name="force" groups="base.group_no_one"/>
                        <field name="with_demo" string="Load demo data"/>
                    </group>
                    <group invisible="state != 'done'">
                        <field name="import_message" nolabel="1" readonly="1"/>
                    </group>
                    <footer>
                        <div invisible="state != 'init'">
                            <button name="import_module" string="Install" type="object" class="btn-primary" data-hotkey="q"/>
                            <button special="cancel" data-hotkey="x" string="Cancel" class="btn-secondary"/>
                        </div>
                        <div invisible="state != 'done'">
                            <button special="cancel" data-hotkey="x" string="Close" class="btn-secondary"/>
                        </div>
                    </footer>
                </form>
            