2018-02-20 19:11:15 +01:00
|
|
|
<?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>
|
|
|
|
<!-- Forms -->
|
|
|
|
<record model="ir.ui.view" id="golem_activity_queue_choose_wizard_view_form">
|
|
|
|
<field name="name">GOLEM Activity Queue Choose Wizard Form</field>
|
|
|
|
<field name="model">golem.activity.queue.choose.wizard</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Rejection reason">
|
|
|
|
<group>
|
2018-02-21 17:17:55 +01:00
|
|
|
<field name="member_id" invisible="1" />
|
2018-02-26 15:45:15 +01:00
|
|
|
<field name="activity_id"
|
|
|
|
domain="[('places_remain','<' , 1), ('queue_allowed', '=', True), ('is_current', '=', True)]"
|
|
|
|
options="{'no_create': True}" />
|
2018-02-20 19:11:15 +01:00
|
|
|
</group>
|
|
|
|
<footer>
|
2018-02-23 18:51:23 +01:00
|
|
|
<button name="register_in_queue" string="Validate" type="object"
|
2018-02-20 19:11:15 +01:00
|
|
|
class="oe_highlight" />
|
|
|
|
<button string="Cancel" class="oe_link" special="cancel" />
|
|
|
|
</footer>
|
|
|
|
</form>
|
|
|
|
</field>
|
2018-02-28 02:06:26 +01:00
|
|
|
</record>
|
2018-02-20 19:11:15 +01:00
|
|
|
</data>
|
|
|
|
</odoo>
|