[FIX] website_forum{,_doc}: noupdate for website.menu
This commit is contained in:
parent
4ad329de55
commit
a5735e7891
|
@ -1,7 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<openerp>
|
<openerp>
|
||||||
<data>
|
<data noupdate="1">
|
||||||
|
|
||||||
<record id="forum_help" model="forum.forum">
|
<record id="forum_help" model="forum.forum">
|
||||||
<field name="name">Help</field>
|
<field name="name">Help</field>
|
||||||
</record>
|
</record>
|
||||||
|
@ -12,7 +11,8 @@
|
||||||
<field name="parent_id" ref="website.main_menu"/>
|
<field name="parent_id" ref="website.main_menu"/>
|
||||||
<field name="sequence" type="int">35</field>
|
<field name="sequence" type="int">35</field>
|
||||||
</record>
|
</record>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
<function model="ir.config_parameter" name="set_param" eval="('auth_signup.allow_uninvited', True)" />
|
<function model="ir.config_parameter" name="set_param" eval="('auth_signup.allow_uninvited', True)" />
|
||||||
|
|
||||||
<!-- JUMP TO FORUM AT INSTALL -->
|
<!-- JUMP TO FORUM AT INSTALL -->
|
||||||
|
@ -22,10 +22,6 @@
|
||||||
<!-- TODO in master : remove the tutorial or create one tutorial forum -->
|
<!-- TODO in master : remove the tutorial or create one tutorial forum -->
|
||||||
<field name="url" eval="'/forum/'+str(ref('website_forum.forum_help'))+'/#tutorial.forum=true'"/>
|
<field name="url" eval="'/forum/'+str(ref('website_forum.forum_help'))+'/#tutorial.forum=true'"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="base.open_menu" model="ir.actions.todo">
|
|
||||||
<field name="action_id" ref="action_open_forum"/>
|
|
||||||
<field name="state">open</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<!-- Answers subtypes -->
|
<!-- Answers subtypes -->
|
||||||
<record id="mt_answer_new" model="mail.message.subtype">
|
<record id="mt_answer_new" model="mail.message.subtype">
|
||||||
|
@ -75,6 +71,11 @@
|
||||||
</data>
|
</data>
|
||||||
<data noupdate="1">
|
<data noupdate="1">
|
||||||
|
|
||||||
|
<record id="base.open_menu" model="ir.actions.todo">
|
||||||
|
<field name="action_id" ref="action_open_forum"/>
|
||||||
|
<field name="state">open</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
<!-- Reasons for closing Post -->
|
<!-- Reasons for closing Post -->
|
||||||
<record id="reason_1" model="forum.post.reason">
|
<record id="reason_1" model="forum.post.reason">
|
||||||
<field name="name">duplicate question</field>
|
<field name="name">duplicate question</field>
|
||||||
|
|
|
@ -1,7 +1,15 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<openerp>
|
<openerp>
|
||||||
<data>
|
<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">
|
<record id="menu_questions" model="website.menu">
|
||||||
<field name="name">Documentation</field>
|
<field name="name">Documentation</field>
|
||||||
<field name="url" eval="'/forum/how-to'"/>
|
<field name="url" eval="'/forum/how-to'"/>
|
||||||
|
@ -9,12 +17,6 @@
|
||||||
<field name="sequence" type="int">65</field>
|
<field name="sequence" type="int">65</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<!-- 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>
|
|
||||||
<record id="base.open_menu" model="ir.actions.todo">
|
<record id="base.open_menu" model="ir.actions.todo">
|
||||||
<field name="action_id" ref="action_open_documentation"/>
|
<field name="action_id" ref="action_open_documentation"/>
|
||||||
<field name="state">open</field>
|
<field name="state">open</field>
|
||||||
|
|
Loading…
Reference in New Issue