forked from Yaltik/golem
58 lines
2.3 KiB
XML
58 lines
2.3 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_precreation_member_result_wizard">
|
|
<field name="name">Golem Precreation Member result Wizard Form</field>
|
|
<field name="model">golem.precreation.member.result.wizard</field>
|
|
<field name="arch" type="xml">
|
|
<form string="list">
|
|
<label string="No member found for the current search"
|
|
attrs="{'invisible': ['|',('member_ids', '!=', []),('contact_ids', '!=', [])]}"/>
|
|
<field name="member_ids" readonly="1"
|
|
attrs="{'invisible': [('member_ids', '=', [])]}">
|
|
<tree readonly="1">
|
|
<field name="id" invisible="1"/>
|
|
<field name="firstname"/>
|
|
<field name="lastname"/>
|
|
<field name="email"/>
|
|
<button name="navigate_to_contact" type="object" icon="fa fa-external-link" />
|
|
</tree>
|
|
</field>
|
|
<field name="contact_ids" readonly="1"
|
|
attrs="{'invisible': [('contact_ids', '=', [])]}">
|
|
<tree readonly="1">
|
|
<field name="id" invisible="1"/>
|
|
<field name="firstname"/>
|
|
<field name="lastname"/>
|
|
<field name="email"/>
|
|
<button name="navigate_to_contact" type="object" icon="fa fa-external-link" />
|
|
</tree>
|
|
</field>
|
|
<footer>
|
|
<button string="Close" class="oe_link" special="cancel" />
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</odoo>
|