1
<?xml version="1.0" encoding="utf-8"?>
5
<record id="waction_account_bankPayment" model="ir.actions.act_window">
6
<field name="name">Bank Payment</field>
7
<field name="type">ir.actions.act_window</field>
8
<field name="res_model">account.bank_payment</field>
9
<field name="search_view_id" ref="select_account_bankPayment"/>
10
<field name="view_type">form</field>
11
<field name="view_mode">tree,form</field>
12
<field name="context">{'voucher_type' : 'Bank Payment', 'search_default_draft' : 1, 'search_default_confirm' : 1, 'search_default_approve' : 1, 'search_default_proforma' : 1}</field>
13
<field name="domain">[('voucher_type_id.name','=','Bank Payment')]</field>
14
<field name="help" type="html">
15
<p class="oe_view_nocontent_create">
16
Click to create a bank payment
18
Bank Payment is a document that manage money out from company bank account
20
The discussions regarding bank payment are automatically displayed at
21
the bottom of each document.
26
<record id="wactionView_account_treeBankPayment" model="ir.actions.act_window.view">
27
<field eval="10" name="sequence"/>
28
<field name="view_mode">tree</field>
29
<field name="view_id" ref="tree_account_bankPayment"/>
30
<field name="act_window_id" ref="waction_account_bankPayment"/>
33
<record id="wactionView_account_formBankPayment" model="ir.actions.act_window.view">
34
<field eval="20" name="sequence"/>
35
<field name="view_mode">form</field>
36
<field name="view_id" ref="form_account_bankPayment"/>
37
<field name="act_window_id" ref="waction_account_bankPayment"/>