-
Notifications
You must be signed in to change notification settings - Fork 27
/
loantype_view.xml
executable file
·119 lines (112 loc) · 4.79 KB
/
loantype_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
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<?xml version="1.0"?>
<openerp>
<data>
<record model="ir.ui.view" id="formview_account_loan_loantype">
<field name="name">account.loan.loantype.form</field>
<field name="model">account.loan.loantype</field>
<field name="arch" type="xml">
<form string="Interest List">
<group col="4">
<field name="name" select="1"/>
<field name="calculation" select="1"/>
<field name="interestversion_ids" colspan="4"/>
<field name="prooftypes" colspan="4" rowspan="1"/>
</group>
</form>
</field>
</record>
<record model="ir.ui.view" id="treeview_account_loan_loantype">
<field name="name">account.loan.loantype.tree</field>
<field name="model">account.loan.loantype</field>
<field name="arch" type="xml">
<tree string="Loan Types">
<field name="name" select="1"/>
<field name="calculation" select="1"/>
</tree>
</field>
</record>
<record model="ir.actions.act_window" id="action_account_loan_loantype">
<field name="name">account.loan.loantype</field>
<field name="res_model">account.loan.loantype</field>
<field name="view_type">form</field>
<field name="view_mode">form,tree</field>
</record>
<menuitem name="Interest" parent="menu_cstore_cfg_root" id="menu_account_loan_interest"/>
<menuitem name="Interest List" parent="menu_cstore_cfg_loan_interests" id="menu_account_loan_loantype" action="action_account_loan_loantype"/>
<record model="ir.ui.view" id="formview_account_loan_loantype_interestversion">
<field name="name">account.loan.loantype.interestversion.form</field>
<field name="model">account.loan.loantype.interestversion</field>
<field name="arch" type="xml">
<form string="Loantype Interest Version">
<group col="4">
<field name="name" select="1"/>
<field name="sequence" select="1"/>
<field name="start_date" select="1"/>
<field name="end_date" select="1"/>
<field name="active" select="1"/>
<newline />
<field name="interestversionline_ids" select="1" colspan="3" />
</group>
</form>
</field>
</record>
<record model="ir.ui.view" id="treeview_account_loan_loantype_interestversion">
<field name="name">account.loan.loantype.interestversion.tree</field>
<field name="model">account.loan.loantype.interestversion</field>
<field name="arch" type="xml">
<tree string="Interest Version">
<field name="name"/>
<field name="start_date" />
<field name="end_date" />
<field name="sequence" select="1"/>
<field name="active" select="1"/>
</tree>
</field>
</record>
<record model="ir.actions.act_window" id="action_account_loan_loantype_interestversion">
<field name="name">account.loan.loantype.interestversion</field>
<field name="res_model">account.loan.loantype.interestversion</field>
<field name="view_type">form</field>
<field name="view_mode">form,tree</field>
</record>
<menuitem name="Interest Version" id="menu_account_loan_loantype_interestversion" parent="menu_cstore_cfg_loan_interests" action="action_account_loan_loantype_interestversion"/>
<record model="ir.ui.view" id="formview_account_loan_loantype_interestversionline">
<field name="name">account.loan.loantype.interestversionline.form</field>
<field name="model">account.loan.loantype.interestversionline</field>
<field name="arch" type="xml">
<form string="Interest Version Line">
<group col="4">
<field name="name" select="1"/>
<field name="min_month" select="1"/>
<field name="max_month" select="1"/>
<field name="min_amount" select="1"/>
<field name="max_amount" select="1"/>
<field name="rate" select="1" />
<field name="sequence" select="1"/>
</group>
</form>
</field>
</record>
<record model="ir.ui.view" id="treeview_account_loan_loantype_interestversionline">
<field name="name">account.loan.loantype.interestversionline.tree</field>
<field name="model">account.loan.loantype.interestversionline</field>
<field name="arch" type="xml">
<tree string="Loan Interest Version Line">
<field name="name" select="1"/>
<field name="min_month" select="1"/>
<field name="max_month" select="1"/>
<field name="min_amount" select="1"/>
<field name="max_amount" select="1"/>
<field name="rate" select="1" />
<field name="sequence" select="1"/>
</tree>
</field>
</record>
<record model="ir.actions.act_window" id="action_account_loan_loantype_interestversionline">
<field name="name">account.loan.loantype.interestversionline</field>
<field name="res_model">account.loan.loantype.interestversionline</field>
<field name="view_type">form</field>
<field name="view_mode">form,tree</field>
</record>
</data>
</openerp>