48 lines
1.7 KiB
XML
48 lines
1.7 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_mode">tree,form</field>
|
|
</record>
|
|
|
|
</data>
|
|
</odoo>
|