<?xml version="1.0"?>
<tryton>
    <data>

<!-- Configuration -->

        <record model="ir.ui.view" id="sale_configuration_view_form">
            <field name="model">sale.configuration</field>
            <field name="inherit" ref="sale.sale_configuration_view_form"/>
            <field name="name">configuration_form</field>
        </record>

<!-- Sale Clause -->

        <record model="ir.ui.view" id="sale_clause_view_form">
            <field name="model">sale.clause</field>
            <field name="type">form</field>
            <field name="name">sale_clause_form</field>
        </record>
        <record model="ir.ui.view" id="sale_clause_view_list">
            <field name="model">sale.clause</field>
            <field name="type">tree</field>
            <field name="name">sale_clause_list</field>
        </record>

        <record model="ir.action.act_window" id="act_sale_clause">
            <field name="name">Clauses</field>
            <field name="res_model">sale.clause</field>
        </record>
        <record model="ir.action.act_window.view" id="act_sale_clause_view_list">
            <field name="sequence" eval="10"/>
            <field name="view" ref="sale_clause_view_list"/>
            <field name="act_window" ref="act_sale_clause"/>
        </record>
        <record model="ir.action.act_window.view" id="act_sale_clause_view_form">
            <field name="sequence" eval="20"/>
            <field name="view" ref="sale_clause_view_form"/>
            <field name="act_window" ref="act_sale_clause"/>
        </record>

        <menuitem action="act_sale_clause" id="menu_sale_clause"
            parent="sale.menu_configuration" sequence="20"/>

    </data>
</tryton>
