PURPOSE Reorganize website_forum module. This allows to better locate code, understand organization, and prepare future changes. SPECIFICATIONS Split data files / model. It is easier to have a global view of a module organization and content. It also allows to see technical data impacted by the module installation (like ir_actions, mail_message_subtypes, ...) Task-3240082 (Forum: Reorganize and lint module) Part-of: odoo/odoo#114841
15 lines
531 B
XML
15 lines
531 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo><data noupdate="1">
|
|
<!-- JUMP TO FORUM AT INSTALL -->
|
|
<record id="action_open_forum" model="ir.actions.act_url">
|
|
<field name="name">Forum</field>
|
|
<field name="target">self</field>
|
|
<field name="url" eval="'/forum/'+str(ref('website_forum.forum_help'))"/>
|
|
</record>
|
|
|
|
<record id="base.open_menu" model="ir.actions.todo">
|
|
<field name="action_id" ref="action_open_forum"/>
|
|
<field name="state">open</field>
|
|
</record>
|
|
</data></odoo>
|