forked from OCA/account-financial-tools
-
Notifications
You must be signed in to change notification settings - Fork 1
/
policy_view.xml
133 lines (126 loc) · 4.77 KB
/
policy_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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<openerp>
<data>
<record id="credit_control_policy_form" model="ir.ui.view">
<field name="name">credit.control.policy.form</field>
<field name="model">credit.control.policy</field>
<field name="arch" type="xml">
<form string="Credit control policy">
<group>
<field name="name"/>
<field name="do_nothing"/>
<field name="company_id"/>
<field name="active"/>
</group>
<notebook colspan="4">
<page string="Policy levels">
<field name="level_ids" nolabel="1" colspan="4" >
<tree string="Credit control policy Level">
<field name="name"/>
<field name="level"/>
<field name="channel"/>
<field name="delay_days"/>
<field name="computation_mode"/>
<field name="email_template_id"/>
</tree>
<form string="Policy level">
<field name="name"/>
<notebook colspan="4">
<page string="Delay Setting">
<group>
<field name="level"/>
<field name="channel"/>
<field name="delay_days"/>
<field name="computation_mode"/>
</group>
</page>
<page string="Mail and reporting">
<group>
<field name="email_template_id"/>
<newline/>
<field name="custom_text" colspan="4"/>
<newline/>
<field name="custom_text_after_details" colspan="4"/>
<newline/>
<field name="custom_mail_text" colspan="4"/>
</group>
</page>
</notebook>
</form>
</field>
</page>
<page string="Accounts">
<field name="account_ids" nolabel="1"/>
</page>
</notebook>
</form>
</field>
</record>
<record id="credit_control_policy_tree" model="ir.ui.view">
<field name="name">credit.control.policy.tree</field>
<field name="model">credit.control.policy</field>
<field name="arch" type="xml">
<tree string="Credit control policy">
<field name="name"/>
<field name="do_nothing"/>
</tree>
</field>
</record>
<menuitem
name="Credit Control"
parent="account.menu_finance_configuration"
id="base_credit_control_configuration_menu"/>
<record model="ir.actions.act_window" id="credit_policy_configuration_action">
<field name="name">Credit Control Policies</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">credit.control.policy</field>
<field name="domain"></field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="view_id" ref="credit_control_policy_tree"/>
</record>
<menuitem
name="Credit Control Policies"
parent="base_credit_control_configuration_menu"
action="credit_policy_configuration_action"
id="credit_policy_configuration_action_menu"/>
<record id="credit_mangement_policy_level_form" model="ir.ui.view">
<field name="name">credit.mangement.policy.level.form</field>
<field name="model">credit.control.policy.level</field>
<field name="arch" type="xml">
<form string="Policy level">
<field name="name"/>
<notebook colspan="4">
<page string="Delay Setting">
<group>
<field name="level"/>
<field name="channel"/>
<field name="delay_days"/>
<field name="computation_mode"/>
</group>
</page>
<page string="Mail and reporting">
<group>
<field name="email_template_id"/>
<field name="custom_text"/>
</group>
</page>
</notebook>
</form>
</field>
</record>
<record id="credit_control_policy_level_tree" model="ir.ui.view">
<field name="name">credit.control.policy.level.tree</field>
<field name="model">credit.control.policy.level</field>
<field name="arch" type="xml">
<tree string="Credit control policy level">
<field name="name"/>
<field name="level"/>
<field name="channel"/>
<field name="delay_days"/>
<field name="computation_mode"/>
<field name="email_template_id"/>
</tree>
</field>
</record>
</data>
</openerp>