<?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="module_category_calendar" model="ir.module.category">
        <field name="name">Online Appointments</field>
        <field name="sequence">19</field>
    </record>

    <record id="group_calendar_manager" model="res.groups">
        <field name="name">Administrator</field>
        <field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>
        <field name="category_id" ref="base.module_category_odex25_marketing_online_appointment"/>
        <field name="users" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin')), (4, ref('base.default_user'))]"/>
    </record>

    <data noupdate="1">

        <record id="calendar_appointment_type_rule_public" model="ir.rule">
            <field name="name">Calendar: public: published only</field>
            <field name="model_id" ref="model_calendar_appointment_type"/>
            <field name="domain_force">[('website_published', '=', True)]</field>
            <field name="groups" eval="[(4, ref('base.group_public')), (4, ref('base.group_portal'))]"/>
        </record>

    </data>
</odoo>
