2017-06-14 23:48:18 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Copyright 2017 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>
|
2018-02-05 11:20:45 +01:00
|
|
|
|
|
|
|
<!-- Forms -->
|
|
|
|
<record id="golem_payment_schedule_form" model="ir.ui.view">
|
|
|
|
<field name="name">GOLEM Payment Schedule Form</field>
|
|
|
|
<field name="model">golem.payment.schedule</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form>
|
|
|
|
<sheet>
|
|
|
|
<group>
|
|
|
|
<field name="name" />
|
2018-02-15 10:15:54 +01:00
|
|
|
<field name="season_id" options="{'no_open': True, 'no_create': True}" />
|
2018-02-05 11:20:45 +01:00
|
|
|
<field name="day_ids" widget="many2many_tags" />
|
|
|
|
<field name="occurences" />
|
2018-02-08 17:14:49 +01:00
|
|
|
</group>
|
|
|
|
</sheet>
|
2018-02-05 11:20:45 +01:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2017-06-14 23:48:18 +02:00
|
|
|
<!-- Trees -->
|
|
|
|
<record id="golem_payment_schedule_tree" model="ir.ui.view">
|
|
|
|
<field name="name">GOLEM Payment Schedule Tree</field>
|
|
|
|
<field name="model">golem.payment.schedule</field>
|
|
|
|
<field name="arch" type="xml">
|
2018-02-05 11:20:45 +01:00
|
|
|
<tree>
|
2017-06-14 23:48:18 +02:00
|
|
|
<field name="name" />
|
|
|
|
<field name="season_id" />
|
|
|
|
<field name="day_ids" widget="many2many_tags" />
|
|
|
|
<field name="occurences" />
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<!-- Search -->
|
|
|
|
<record id="golem_payment_schedule_search" model="ir.ui.view">
|
|
|
|
<field name="name">GOLEM Payment Schedule Filters</field>
|
|
|
|
<field name="model">golem.payment.schedule</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<search>
|
|
|
|
<field name="name" />
|
|
|
|
<field name="season_id" />
|
2018-02-02 13:57:39 +01:00
|
|
|
<field name="day_ids" />
|
2017-06-14 23:48:18 +02:00
|
|
|
</search>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<!-- Actions -->
|
|
|
|
<act_window id="golem_payment_schedule_action" name="Payment Schedules"
|
2018-02-05 11:20:45 +01:00
|
|
|
res_model="golem.payment.schedule" view_mode="tree,form" />
|
2017-06-14 23:48:18 +02:00
|
|
|
|
|
|
|
<!-- Menus -->
|
|
|
|
<menuitem id="golem_payment_schedule_menu_list" sequence="5"
|
|
|
|
parent="payment.root_payment_menu" action="golem_payment_schedule_action"
|
|
|
|
groups="golem_base.group_golem_manager" />
|
|
|
|
|
|
|
|
|
|
|
|
</data>
|
|
|
|
</odoo>
|