2018-12-21 11:00:35 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<odoo>
|
|
|
|
<!--
|
|
|
|
VIEWS
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!-- FORM VIEW -->
|
|
|
|
<record id="mail_activity_view_form_board" model="ir.ui.view">
|
|
|
|
<field name="name">mail.activity.boards.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-12-21 11:00:35 +01:00
|
|
|
<field name="arch" type="xml">
|
|
|
|
<field name="activity_type_id" position="before">
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="partner_id" readonly="True" />
|
|
|
|
<field name="commercial_partner_id" />
|
2018-12-21 11:00:35 +01:00
|
|
|
</field>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- TREE VIEW -->
|
|
|
|
<record id="mail_activity_view_tree" model="ir.ui.view">
|
|
|
|
<field name="name">mail.activity.boards.view.tree</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_tree" />
|
2018-12-21 11:00:35 +01:00
|
|
|
<field name="arch" type="xml">
|
|
|
|
<field name="activity_type_id" position="before">
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="partner_id" readonly="True" />
|
|
|
|
<field name="commercial_partner_id" />
|
2018-12-21 11:00:35 +01:00
|
|
|
</field>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- KANBAN VIEW -->
|
|
|
|
<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-12-21 11:00:35 +01:00
|
|
|
<field name="arch" type="xml">
|
|
|
|
<strong class="o_kanban_record_title" position="inside">
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="partner_id" />
|
2018-12-21 11:00:35 +01:00
|
|
|
</strong>
|
|
|
|
</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" />
|
2018-12-21 11:00:35 +01:00
|
|
|
<field name="arch" type="xml">
|
2021-11-30 09:44:08 +01:00
|
|
|
<xpath expr='//field[@name="res_model"]' position='before'>
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="partner_id" />
|
|
|
|
<field name="commercial_partner_id" />
|
2018-12-21 11:00:35 +01:00
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
</odoo>
|