flectra/addons/mail/views/mail_tracking_views.xml

67 lines
3.0 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
2018-01-16 11:34:37 +01:00
<flectra>
<data>
<record model="ir.ui.view" id="view_mail_tracking_value_tree">
<field name="name">mail.tracking.value.tree</field>
<field name="model">mail.tracking.value</field>
<field name="priority">12</field>
<field name="arch" type="xml">
<tree string="Tracking Value">
<field name="field"/>
<field name="old_value_integer"/>
<field name="old_value_float"/>
<field name="old_value_char"/>
<field name="old_value_text"/>
<field name="old_value_datetime"/>
<field name="new_value_integer"/>
<field name="new_value_float"/>
<field name="new_value_char"/>
<field name="new_value_text"/>
<field name="new_value_datetime"/>
<field name="mail_message_id"/>
</tree>
</field>
</record>
<record model="ir.ui.view" id="view_mail_tracking_value_form">
<field name="name">mail.tracking.value.form</field>
<field name="model">mail.tracking.value</field>
<field name="arch" type="xml">
<form string="Tracking Value">
<sheet>
<group>
<group string='Change'>
<field name="field"/>
<field name="field_desc"/>
<field name="field_type"/>
<field name="old_value_integer"/>
<field name="old_value_float"/>
<field name="old_value_char"/>
<field name="old_value_text"/>
<field name="old_value_datetime"/>
<field name="new_value_integer"/>
<field name="new_value_float"/>
<field name="new_value_char"/>
<field name="new_value_text"/>
<field name="new_value_datetime"/>
</group>
<group string='Related Message'>
<field name="mail_message_id"/>
</group>
</group>
</sheet>
</form>
</field>
</record>
<record model="ir.actions.act_window" id="action_view_mail_tracking_value">
<field name="name">Tracking Values</field>
<field name="res_model">mail.tracking.value</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem name="Tracking Values" id="menu_mail_tracking_value" parent="base.menu_email" action="action_view_mail_tracking_value"/>
</data>
2018-01-16 11:34:37 +01:00
</flectra>