urd_odoo_addons/groupeurd_newsletter/views.xml
Olivier Sarrat 388bd038b6 First version of groupeurd_newsletter module.
See module description in __openerp__.py for more details.
2016-10-14 09:44:01 +02:00

28 lines
1.0 KiB
XML

<openerp>
<data>
<record model="ir.ui.view" id="noname_view_mail_mass_mailing_contact_tree">
<field name="name">mail.mass_mailing.contact.tree</field>
<field name="model">mail.mass_mailing.contact</field>
<field name="inherit_id" ref="mass_mailing.view_mail_mass_mailing_contact_tree" />
<field name="arch" type="xml">
<field name="name" position="attributes">
<attribute name="invisible">1</attribute>
</field>
<field name="list_id" position="after">
<field name="create_uid" string="Source" readonly="1" />
</field>
<!-- The fields "unsubscribed_by_odoo_user" & "unsubscription_date" must be displayed so that
the new function on_change_opt_out() can edit their value in the UI
Note: the "on_change" functions can only work in the UI
-->
<field name="opt_out" position="after">
<field name="unsubscription_date" invisible="1"/>
<field name="unsubscribed_by_odoo_user" invisible="1" />
</field>
</field>
</record>
</data>
</openerp>