53 lines
2.0 KiB
XML
53 lines
2.0 KiB
XML
<?xml version="1.0"?>
|
|
<odoo>
|
|
<data>
|
|
|
|
<!-- FOLLOWERS !-->
|
|
<record model="ir.ui.view" id="view_followers_tree">
|
|
<field name="name">mail.followers.tree</field>
|
|
<field name="model">mail.followers</field>
|
|
<field name="priority">10</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="Followers">
|
|
<field name="res_model"/>
|
|
<field name="res_id"/>
|
|
<field name="partner_id"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="view_mail_subscription_form">
|
|
<field name="name">mail.followers.form</field>
|
|
<field name="model">mail.followers</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Followers Form">
|
|
<sheet>
|
|
<group>
|
|
<group>
|
|
<field name="res_model"/>
|
|
<field name="partner_id"/>
|
|
</group>
|
|
<group>
|
|
<field name="res_id"/>
|
|
<field name="subtype_ids" widget="many2many_tags"/>
|
|
</group>
|
|
</group>
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_view_followers" model="ir.actions.act_window">
|
|
<field name="name">Followers</field>
|
|
<field name="res_model">mail.followers</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">tree,form</field>
|
|
</record>
|
|
|
|
<!-- Add followers related menu entries in Settings/Email -->
|
|
<menuitem name="Followers" id="menu_email_followers" parent="base.menu_email"
|
|
action="action_view_followers" sequence="30" groups="base.group_no_one"/>
|
|
|
|
</data>
|
|
</odoo>
|