GOLEM/golem_mail/wizard/golem_mail_presend_wizard_views.xml

46 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<odoo>
<data>
<record model="ir.ui.view" id="golem_mail_presend_wizard_form">
<field name="name">GOLEM Mail Presend Wizard Form</field>
<field name="model">golem.mail.presend.wizard</field>
<field name="arch" type="xml">
<form>
<field name="recipient_ids">
<tree editable="bottom" colors="red: opt_out == True;">
<field name="partner_id" readonly="1"/>
<field name="firstname" readonly="1"/>
<field name="lastname" readonly="1"/>
<field name="phone" readonly="1"/>
<field name="email"/>
<field name="opt_out" readonly="1"/>
</tree>
</field>
<footer>
<button name="edit_email" string="Next"
type="object" class="oe_highlight"/>
<button string="Close" special="cancel" />
</footer>
</form>
</field>
</record>
</data>
</odoo>