flectra/addons/website_forum_doc/data/doc_data.xml
2018-01-16 02:34:37 -08:00

49 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<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>
</flectra>