<?xml version="1.0"?>
<!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
    <data>
        <menuitem
            name="Subscription"
            parent="product.menu_configuration"
            sequence="50"
            id="menu_configuration"/>

        <record model="ir.sequence.type" id="sequence_type_subscription">
            <field name="name">Subscription</field>
        </record>
        <record model="ir.sequence.type-res.group"
            id="sequence_type_subscription_group_admin">
            <field name="sequence_type" ref="sequence_type_subscription"/>
            <field name="group" ref="res.group_admin"/>
        </record>
        <record model="ir.sequence.type-res.group"
            id="sequence_type_subscription_group_sale_admin">
            <field name="sequence_type" ref="sequence_type_subscription"/>
            <field name="group" ref="sale.group_sale_admin"/>
        </record>

        <record model="ir.sequence" id="sequence_subscription">
            <field name="name">Subscription</field>
            <field name="sequence_type" ref="sequence_type_subscription"/>
        </record>

        <record model="ir.ui.view" id="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>
    </data>
</tryton>
