2021-01-26 15:06:17 +01:00
|
|
|
<?xml version="1.0" ?>
|
2018-11-27 09:35:55 +01:00
|
|
|
<odoo>
|
|
|
|
|
|
|
|
<record id="mail_activity_view_form_popup" model="ir.ui.view">
|
|
|
|
<field name="name">mail.activity.view.form.popup</field>
|
|
|
|
<field name="model">mail.activity</field>
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="inherit_id" ref="mail.mail_activity_view_form_popup" />
|
2018-11-27 09:35:55 +01:00
|
|
|
<field name="arch" type="xml">
|
|
|
|
<field name="user_id" position="after">
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="team_id" options="{'no_create': True, 'no_open': True}" />
|
2018-11-27 09:35:55 +01:00
|
|
|
</field>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="mail_activity_view_tree" model="ir.ui.view">
|
|
|
|
<field name="name">mail.activity.view.tree</field>
|
|
|
|
<field name="model">mail.activity</field>
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="inherit_id" ref="mail.mail_activity_view_tree" />
|
2018-11-27 09:35:55 +01:00
|
|
|
<field name="arch" type="xml">
|
|
|
|
<field name="date_deadline" position="after">
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="team_id" />
|
2018-11-27 09:35:55 +01:00
|
|
|
</field>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="mail_activity_view_form_board" model="ir.ui.view">
|
|
|
|
<field name="name">mail.activity.view.form</field>
|
|
|
|
<field name="model">mail.activity</field>
|
2021-01-26 15:06:17 +01:00
|
|
|
<field
|
|
|
|
name="inherit_id"
|
|
|
|
ref="mail_activity_board.mail_activity_view_form_board"
|
|
|
|
/>
|
2018-11-27 09:35:55 +01:00
|
|
|
<field name="arch" type="xml">
|
|
|
|
<field name="user_id" position="after">
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="team_id" />
|
2018-11-27 09:35:55 +01:00
|
|
|
</field>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="mail_activity_view_kanban" model="ir.ui.view">
|
|
|
|
<field name="name">mail.activity.boards.view.kanban</field>
|
|
|
|
<field name="model">mail.activity</field>
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="inherit_id" ref="mail_activity_board.mail_activity_view_kanban" />
|
2018-11-27 09:35:55 +01:00
|
|
|
<field name="arch" type="xml">
|
|
|
|
<field name="user_id" position="after">
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="team_id" />
|
2018-11-27 09:35:55 +01:00
|
|
|
</field>
|
|
|
|
<xpath expr="//div[hasclass('oe_kanban_content')]" position="inside">
|
2021-01-26 15:06:17 +01:00
|
|
|
<br />
|
2018-11-27 09:35:55 +01:00
|
|
|
<div>
|
2021-01-26 15:06:17 +01:00
|
|
|
Team: <field name="team_id" />
|
2018-11-27 09:35:55 +01:00
|
|
|
</div>
|
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<!-- SEARCH VIEW -->
|
|
|
|
<record id="mail_activity_view_search" model="ir.ui.view">
|
|
|
|
<field name="name">mail.activity.boards.view.search</field>
|
|
|
|
<field name="model">mail.activity</field>
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="inherit_id" ref="mail_activity_board.mail_activity_view_search" />
|
|
|
|
<field name="priority" eval="2" />
|
2018-11-27 09:35:55 +01:00
|
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr='//field[@name="user_id"]' position='before'>
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="team_id" />
|
2018-11-27 09:35:55 +01:00
|
|
|
</xpath>
|
2019-10-24 13:47:32 +02:00
|
|
|
<xpath expr='//filter[@name="activities_6_month"]' position='after'>
|
2021-01-26 15:06:17 +01:00
|
|
|
<filter
|
|
|
|
name="my_team_activities"
|
|
|
|
string="My Team Activities"
|
|
|
|
domain="[('team_id.member_ids', '=', uid)]"
|
|
|
|
/>
|
2018-12-24 13:19:52 +01:00
|
|
|
</xpath>
|
2018-11-27 09:35:55 +01:00
|
|
|
<group position='inside'>
|
2021-01-26 15:06:17 +01:00
|
|
|
<filter name='team' string="Team" context="{'group_by': 'team_id'}" />
|
2018-11-27 09:35:55 +01:00
|
|
|
</group>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
</record>
|
|
|
|
</odoo>
|