<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record id="view_back_date_assign" model="ir.ui.view">
            <field name="name">back.date.assign.from</field>
            <field name="model">back.date.assign</field>
            <field name="arch" type="xml">
                <form string="Project Close">
                    <group>
                        <group>
                            <field name="date" required="1"/>
                        </group>
                        <group>
                            <field name="permission_type" required="1"/>
                        </group>
                    </group>
                    <group>
                        <field name="reason"/>
                    </group>
                    <footer>
                        <button string="OK" type="object" name="action_compute_project_close" class="btn-primary"/>
                        <button string="Cancel" class="btn-default" special="cancel"/>
                    </footer>
                </form>
            </field>
        </record>

        <record id="action_back_date_assign" model="ir.actions.act_window">
            <field name="name">Timesheet Date Assign</field>
<!--            <field name="type">ir.actions.act_window</field>-->
            <field name="res_model">back.date.assign</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">form</field>
            <field name="target">new</field>
        </record>

    </data>
</openerp>