44 lines
1.8 KiB
XML
44 lines
1.8 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_request_wizard">
|
|
<field name="name">Golem Precreation Member Request Wizard Form</field>
|
|
<field name="model">golem.precreation.member.request.wizard</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Member Searching">
|
|
<group>
|
|
<field name="name" />
|
|
<field name="is_member" invisible="1"/>
|
|
</group>
|
|
<footer>
|
|
<button name="search_members" string="Search Member" type="object"
|
|
context="{'model': 'golem.member'}" class="oe_link"
|
|
attrs="{'invisible': [('is_member', '=', False)]}"/>
|
|
<button name="search_members" string="Search Contact" type="object"
|
|
context="{'model': 'res.partner'}" class="oe_link"
|
|
attrs="{'invisible': [('is_member', '=', True)]}" />
|
|
<button string="Cancel" class="oe_link" special="cancel" />
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</odoo>
|