forked from OCA/donation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdonation_recurring_generate_view.xml
48 lines (44 loc) · 1.74 KB
/
donation_recurring_generate_view.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2014-2021 Barroux Abbey (http://www.barroux.org)
Copyright 2014-2021 Akretion France (http://www.akretion.com/)
@author: Alexis de Lattre <[email protected]>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo>
<record id="donation_recurring_generate_form" model="ir.ui.view">
<field name="name">donation_recurring_generate.form</field>
<field name="model">donation.recurring.generate</field>
<field name="arch" type="xml">
<form string="Generate Recurring Donations">
<group name="main">
<field name="date" />
<field name="payment_ref" />
<field name="company_id" groups="base.group_multi_company" />
</group>
<footer>
<button
type="object"
name="generate"
string="Generate"
class="btn-primary"
/>
<button special="cancel" string="Cancel" />
</footer>
</form>
</field>
</record>
<record id="donation_recurring_generate_action" model="ir.actions.act_window">
<field name="name">Generate Recurring Donations</field>
<field name="res_model">donation.recurring.generate</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<menuitem
id="donation_recurring_generate_menu"
sequence="30"
action="donation_recurring_generate_action"
parent="donation.donation_title_menu"
groups="donation.group_donation_user"
/>
</odoo>