Files
odoo_source/addons/mail/views/mail_gateway_allowed_views.xml
T
std-odoo a0186bd4c4 [IMP] mail: improve the UI of the mail gateway allowed model
Purpose
=======
Show a help message in the "mail gateway allowed" list view that
explains why this model is useful and what the email limit is.

Remove the normalized email from the list view and rename the label of
the email field.

Task-2885455

closes odoo/odoo#96588

Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
2022-07-28 01:30:14 +02:00

29 lines
1.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="mail_gateway_allowed_view_tree" model="ir.ui.view">
<field name="name">mail.gateway.allowed.view.tree</field>
<field name="model">mail.gateway.allowed</field>
<field name="arch" type="xml">
<tree string="Mail Gateway Allowed" editable="top">
<field name="email"/>
</tree>
</field>
</record>
<record id="mail_gateway_allowed_view_search" model="ir.ui.view">
<field name="name">mail.gateway.allowed.view.search</field>
<field name="model">mail.gateway.allowed</field>
<field name="arch" type="xml">
<search>
<field name="email"/>
</search>
</field>
</record>
<record id="mail_gateway_allowed_action" model="ir.actions.act_window">
<field name="name">Mail Gateway Allowed</field>
<field name="res_model">mail.gateway.allowed</field>
<field name="view_mode">tree</field>
</record>
</odoo>