forked from OCA/vertical-abbey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
donation_mass_demo.xml
86 lines (73 loc) · 3.25 KB
/
donation_mass_demo.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?xml version="1.0" encoding="utf-8"?>
<odoo noupdate="1">
<record id="donor_mass1" model="res.partner">
<field name="name">Sophie Durand</field>
<field name="customer" eval="1"/>
<field name="street">12 rue Alexis Perroncel</field>
<field name="zip">69100</field>
<field name="city">Villeurbanne</field>
<field name="country_id" ref="base.fr"/>
<field name="email">[email protected]</field>
</record>
<record id="donor_mass2" model="res.partner">
<field name="name">Eric Grosjean</field>
<field name="customer" eval="1"/>
<field name="street">35 rue Anatole France</field>
<field name="zip">69100</field>
<field name="city">Villeurbanne</field>
<field name="country_id" ref="base.fr"/>
<field name="email">[email protected]</field>
</record>
<record id="donor_mass3" model="res.partner">
<field name="name">George Donuts</field>
<field name="customer" eval="1"/>
<field name="street">1 avenue Foch</field>
<field name="zip">75116</field>
<field name="city">Paris</field>
<field name="country_id" ref="base.fr"/>
<field name="email">[email protected]</field>
</record>
<record id="donation_mass1" model="donation.donation">
<field name="check_total">17</field>
<field name="partner_id" ref="donor_mass1"/>
<field name="donation_date" eval="time.strftime('%Y-%m-01')"/>
<field name="journal_id" model="account.journal" search="[('type', '=', 'bank')]"/>
<field name="payment_ref">CHQ CA 229026</field>
</record>
<record id="donation_mass1_l1" model="donation.line">
<field name="donation_id" ref="donation_mass1"/>
<field name="product_id" ref="mass.product_product_mass_simple"/>
<field name="quantity">1</field>
<field name="unit_price">17</field>
<field name="intention">For my grand-mother</field>
</record>
<record id="donation_mass2" model="donation.donation">
<field name="check_total">340</field>
<field name="partner_id" ref="donor_mass2"/>
<field name="donation_date" eval="time.strftime('%Y-%m-01')"/>
<field name="journal_id" model="account.journal" search="[('type', '=', 'bank')]"/>
<field name="payment_ref">CHQ BP 9087123</field>
</record>
<record id="donation_mass2_l1" model="donation.line">
<field name="donation_id" ref="donation_mass2"/>
<field name="product_id" ref="mass.product_product_mass_novena"/>
<field name="quantity">2</field>
<field name="unit_price">170</field>
<field name="intention">For my father</field>
</record>
<record id="donation_mass3" model="donation.donation">
<field name="check_total">540</field>
<field name="partner_id" ref="donor_mass3"/>
<field name="donation_date" eval="time.strftime('%Y-%m-01')"/>
<field name="journal_id" model="account.journal" search="[('type', '=', 'bank')]"/>
<field name="payment_ref">CHQ HSBC 98302217</field>
</record>
<record id="donation_mass3_l1" model="donation.line">
<field name="donation_id" ref="donation_mass3"/>
<field name="product_id" ref="mass.product_product_mass_gregorian"/>
<field name="quantity">1</field>
<field name="unit_price">540</field>
<field name="intention">For my grand-father</field>
<field name="celebrant_id" ref="mass.father_odilon"/>
</record>
</odoo>