<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <!-- JUMP TO DOCUMENTATION AT INSTALL -->
        <record id="action_open_documentation" model="ir.actions.act_url">
            <field name="name">Documentation</field>
            <field name="target">self</field>
            <field name="url" eval="'/forum/how-to'"/>
        </record>
    </data>

    <data noupdate="1">
        <record id="menu_questions" model="website.menu">
            <field name="name">Documentation</field>
            <field name="url" eval="'/forum/how-to'"/>
            <field name="parent_id" ref="website.main_menu"/>
            <field name="sequence" type="int">65</field>
        </record>

        <record id="base.open_menu" model="ir.actions.todo">
            <field name="action_id" ref="action_open_documentation"/>
            <field name="state">open</field>
        </record>

        <!-- Stages -->

        <record id="stage_ideas" model="forum.documentation.stage">
            <field name="name">Ideas</field>
            <field name="sequence">1</field>
        </record>

        <record id="stage_draft" model="forum.documentation.stage">
            <field name="name">Draft</field>
            <field name="sequence">2</field>
        </record>

        <record id="stage_review" model="forum.documentation.stage">
            <field name="name">Review</field>
            <field name="sequence">3</field>
        </record>

        <record id="stage_publish" model="forum.documentation.stage">
            <field name="name">Publish</field>
            <field name="sequence">4</field>
        </record>

    </data>
</openerp>
