1
<?xml version="1.0" encoding="UTF-8"?>
5
<record model="ir.ui.view" id="view_partner_payment_form">
6
<field name="name">account.voucher.partner.payment.form</field>
7
<field name="model">account.voucher</field>
8
<field name="type">form</field>
9
<field name="arch" type="xml">
10
<form string="Payment Reconciliation">
11
<field name="partner_id" invisible="1"/>
12
<field name="currency_id" invisible="1"/>
13
<field name="amount" invisible="1"/>
14
<field name="journal_id" invisible="1"/>
15
<field name="date" invisible="1"/>
16
<field name="company_id" invisible="1"/>
17
<field name="account_id" invisible="1"/>
18
<field name="type" invisible="True"/>
20
<separator string="Associated Bank Transaction" colspan="4"/>
21
<field name="stline_info" colspan="4" nolabel="1" width="800"/>
23
<notebook colspan="4">
24
<page string="Reconciliaton Details">
25
<field name="line_dr_ids" context="{'journal_id':journal_id, 'type':type, 'partner_id':partner_id}" colspan="4" nolabel="1" height="140" on_change="onchange_line_ids(line_dr_ids, line_cr_ids, amount, currency_id, context)">
26
<tree string="Partner Invoices and Outstanding transactions" editable="bottom" colors="gray:amount==0">
27
<field name="move_line_id" context="{'journal_id':parent.journal_id, 'partner_id':parent.partner_id}"
28
on_change="onchange_move_line_id(move_line_id)"
29
domain="[('account_id.type','in',['receivable','payable']),('reconcile_id','=', False), ('partner_id','=',parent.partner_id)]"
32
<field name="account_id" readonly="1"/>
33
<field name="date_original" readonly="1"/>
34
<field name="date_due" readonly="1"/>
35
<field name="amount_original" readonly="1"/>
36
<field name="amount_unreconciled" sum="Total Open Balance" readonly="1"/>
37
<field name="reconcile" on_change="onchange_reconcile(reconcile, amount, amount_unreconciled, context)"/>
38
<field name="amount" sum="Total Allocation" on_change="onchange_amount(amount, amount_unreconciled, context)" string="Allocation"/>
41
<field name="line_cr_ids" colspan="4" nolabel="1" context="{'journal_id':journal_id, 'partner_id':partner_id}" on_change="onchange_line_ids(line_dr_ids, line_cr_ids, amount, currency_id, context)">
42
<tree string="Credits" editable="bottom" colors="gray:amount==0">
43
<field name="move_line_id" context="{'journal_id':parent.journal_id, 'partner_id':parent.partner_id}"
44
on_change="onchange_move_line_id(move_line_id)"
45
domain="[('account_id.type','in',('receivable','payable')),('reconcile_id','=', False), ('partner_id','=',parent.partner_id)]"
48
<field name="account_id" readonly="1"/>
49
<field name="date_original" readonly="1"/>
50
<field name="date_due" readonly="1"/>
51
<field name="amount_original" readonly="1"/>
52
<field name="amount_unreconciled" sum="Total Open Balance" readonly="1"/>
53
<field name="reconcile" on_change="onchange_reconcile(reconcile, amount, amount_unreconciled, context)"/>
54
<field name="amount" sum="Total Allocation" on_change="onchange_amount(amount, amount_unreconciled, context)" string="Allocation"/>
57
<group col="2" colspan="3">
58
<separator string="Other Information" colspan="2"/>
59
<field name="number"/>
61
<group col="2" colspan="1">
62
<group col="4" colspan="1" attrs="{'invisible':[('currency_id','=',False),('is_multi_currency','=',False)]}">
63
<separator string="Currency Options" colspan="4"/>
64
<field name="is_multi_currency" invisible="1"/>
65
<field name="payment_rate" required="1" on_change="onchange_rate(payment_rate, amount, currency_id, payment_rate_currency_id, company_id, context)" groups='base.group_extended' colspan="3"/>
66
<field name="payment_rate_currency_id" groups='base.group_extended' colspan="1" nolabel="1" on_change="onchange_payment_rate_currency(currency_id, payment_rate, payment_rate_currency_id, date, amount, company_id, context)"/>
67
<field name="paid_amount_in_company_currency" groups='base.group_extended' colspan="4" invisible="1"/>
69
<group col="2" colspan="1">
70
<separator string="Reconciliation Options" colspan="2"/>
71
<field name="writeoff_amount"/>
72
<field name="payment_option" required="1"/>
73
<field name="writeoff_acc_id"
74
attrs="{'invisible':[('payment_option','!=','with_writeoff')], 'required':[('payment_option','=','with_writeoff')]}"
75
domain="[('type','=','other')]"/>
77
attrs="{'invisible':[('payment_option','!=','with_writeoff')]}"/>
78
<field name="analytic_id"
79
groups="analytic.group_analytic_accounting"/>
83
<page string="Journal Items" groups="base.group_extended" attrs="{'invisible': [('state','!=','posted')]}">
84
<group col="6" colspan="4">
85
<field name="period_id"/>
88
<field name="move_ids" colspan="4" nolabel="1" readonly="1">
89
<tree string="Journal Items">
90
<field name="move_id"/>
93
<field name="statement_id"/>
94
<field name="partner_id"/>
95
<field name="account_id"/>
98
<field name="credit"/>
100
<field name="reconcile_id"/>
101
<field name="reconcile_partial_id"/>
102
<field name="amount_currency"/>
103
<field name="currency_id"/>
107
<page string="Internal Notes">
108
<separator string="Notes" colspan="4"/>
109
<field name="narration" colspan="4" nolabel="1"/>
112
<group col="10" colspan="4">
113
<field name="state"/>
114
<button name="cancel_voucher" string="Cancel" states="draft,proforma" icon="gtk-cancel"/>
115
<button name="cancel_voucher" string="Unreconcile" type="object" states="posted" icon="terp-stock_effects-object-colorize" confirm="Are you sure to unreconcile this record ?"/>
116
<button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft" icon="terp-stock_effects-object-colorize"/>
117
<button name="button_dummy" states="draft" string="Compute" type="object" icon="terp-stock_format-scientific"/>
118
<button name="proforma_voucher" string="Validate" states="draft" icon="gtk-go-forward"/>
119
<button special="button_close" string="Save & Close" icon="gtk-apply" type="object"/>
120
<button special="cancel" string="Close" icon="terp-dialog-close" type="object"/>
126
<record model="ir.ui.view" id="view_partner_receipt_form">
127
<field name="name">account.voucher.partner.receipt.form</field>
128
<field name="model">account.voucher</field>
129
<field name="type">form</field>
130
<field name="arch" type="xml">
131
<form string="Payment Reconciliation">
132
<field name="partner_id" invisible="1"/>
133
<field name="currency_id" invisible="1"/>
134
<field name="amount" invisible="1"/>
135
<field name="journal_id" invisible="1"/>
136
<field name="date" invisible="1"/>
137
<field name="company_id" invisible="1"/>
138
<field name="account_id" invisible="1"/>
139
<field name="type" invisible="True"/>
141
<separator string="Associated Bank Transaction" colspan="4"/>
142
<field name="stline_info" colspan="4" nolabel="1" width="800"/>
144
<notebook colspan="4">
145
<page string="Reconciliaton Details">
146
<field name="line_cr_ids" context="{'journal_id':journal_id, 'type':type, 'partner_id':partner_id}" colspan="4" nolabel="1" height="140" on_change="onchange_line_ids(line_dr_ids, line_cr_ids, amount, currency_id, context)">
147
<tree string="Invoices and outstanding transactions" editable="bottom" colors="gray:amount==0">
148
<field name="move_line_id" context="{'journal_id':parent.journal_id, 'partner_id':parent.partner_id}"
149
on_change="onchange_move_line_id(move_line_id)"
150
domain="[('account_id.type','in',['receivable','payable']),('reconcile_id','=', False), ('partner_id','=',parent.partner_id)]"
153
<field name="account_id" readonly="1"/>
154
<field name="date_original" readonly="1"/>
155
<field name="date_due" readonly="1"/>
156
<field name="amount_original" readonly="1"/>
157
<field name="amount_unreconciled" sum="Total Open Balance" readonly="1"/>
158
<field name="reconcile" on_change="onchange_reconcile(reconcile, amount, amount_unreconciled, context)"/>
159
<field name="amount" sum="Total Allocation" on_change="onchange_amount(amount, amount_unreconciled, context)" string="Allocation"/>
162
<field name="line_dr_ids" colspan="4" nolabel="1" context="{'journal_id':journal_id, 'partner_id':partner_id}" on_change="onchange_line_ids(line_dr_ids, line_cr_ids, amount, currency_id, context)">
163
<tree string="Credits" editable="bottom" colors="gray:amount==0">
164
<field name="move_line_id" context="{'journal_id':parent.journal_id, 'partner_id':parent.partner_id}"
165
on_change="onchange_move_line_id(move_line_id)"
166
domain="[('account_id.type','in',('receivable','payable')),('reconcile_id','=', False), ('partner_id','=',parent.partner_id)]"
169
<field name="account_id" readonly="1"/>
170
<field name="date_original" readonly="1"/>
171
<field name="date_due" readonly="1"/>
172
<field name="amount_original" readonly="1"/>
173
<field name="amount_unreconciled" sum="Total Open Balance" readonly="1"/>
174
<field name="reconcile" on_change="onchange_reconcile(reconcile, amount, amount_unreconciled, context)"/>
175
<field name="amount" sum="Total Allocation" on_change="onchange_amount(amount, amount_unreconciled, context)" string="Allocation"/>
178
<group col="2" colspan="3">
179
<separator string="Other Information" colspan="2"/>
180
<field name="number"/>
182
<group col="2" colspan="1">
183
<group col="4" colspan="1" attrs="{'invisible':[('currency_id','=',False),('is_multi_currency','=',False)]}">
184
<separator string="Currency Options" colspan="4"/>
185
<field name="is_multi_currency" invisible="1"/>
186
<field name="payment_rate" required="1" on_change="onchange_rate(payment_rate, amount, currency_id, payment_rate_currency_id, company_id, context)" groups='base.group_extended' colspan="3"/>
187
<field name="payment_rate_currency_id" groups='base.group_extended' colspan="1" nolabel="1" on_change="onchange_payment_rate_currency(currency_id, payment_rate, payment_rate_currency_id, date, amount, company_id, context)"/>
188
<field name="paid_amount_in_company_currency" groups='base.group_extended' colspan="4" invisible="1"/>
190
<group col="2" colspan="1">
191
<separator string="Reconciliation Options" colspan="2"/>
192
<field name="writeoff_amount"/>
193
<field name="payment_option" required="1"/>
194
<field name="writeoff_acc_id"
195
attrs="{'invisible':[('payment_option','!=','with_writeoff')], 'required':[('payment_option','=','with_writeoff')]}"
196
domain="[('type','=','other')]"/>
197
<field name="comment"
198
attrs="{'invisible':[('payment_option','!=','with_writeoff')]}"/>
199
<field name="analytic_id"
200
groups="analytic.group_analytic_accounting"/>
204
<page string="Journal Items" groups="base.group_extended" attrs="{'invisible': [('state','!=','posted')]}">
205
<group col="6" colspan="4">
206
<field name="period_id"/>
207
<field name="audit"/>
209
<field name="move_ids" colspan="4" nolabel="1" readonly="1">
210
<tree string="Journal Items">
211
<field name="move_id"/>
214
<field name="statement_id"/>
215
<field name="partner_id"/>
216
<field name="account_id"/>
218
<field name="debit"/>
219
<field name="credit"/>
220
<field name="state"/>
221
<field name="reconcile_id"/>
222
<field name="reconcile_partial_id"/>
223
<field name="amount_currency"/>
224
<field name="currency_id"/>
228
<page string="Internal Notes">
229
<separator string="Notes" colspan="4"/>
230
<field name="narration" colspan="4" nolabel="1"/>
233
<group col="10" colspan="4">
234
<field name="state"/>
235
<button name="cancel_voucher" string="Cancel" states="draft,proforma" icon="gtk-cancel"/>
236
<button name="cancel_voucher" string="Unreconcile" type="object" states="posted" icon="terp-stock_effects-object-colorize" confirm="Are you sure to unreconcile this record ?"/>
237
<button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft" icon="terp-stock_effects-object-colorize"/>
238
<button name="button_dummy" states="draft" string="Compute" type="object" icon="terp-stock_format-scientific"/>
239
<button name="proforma_voucher" string="Validate" states="draft" icon="gtk-go-forward"/>
240
<button special="button_close" string="Save & Close" icon="gtk-apply" type="object"/>
241
<button special="cancel" string="Close" icon="terp-dialog-close" type="object"/>
b'\\ No newline at end of file'