~koi-accounting-modules-maintainer/koi-accounting-modules/7.0-fixed-asset

« back to all changes in this revision

Viewing changes to ar_account/window_action/waction_BankPayment.xml

  • Committer: Andhitia Rama
  • Date: 2014-04-06 22:04:29 UTC
  • Revision ID: andhitia.r@gmail.com-20140406220429-5yler527mgqcm5l8
init

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<openerp>
 
3
        <data>
 
4
 
 
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
 
17
              </p><p>
 
18
                Bank Payment is a document that manage money out from company bank account
 
19
              </p><p>
 
20
                The discussions regarding bank payment are automatically displayed at
 
21
                the bottom of each document.
 
22
              </p>
 
23
            </field>                    
 
24
                </record>
 
25
                
 
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"/>
 
31
                </record>
 
32
 
 
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"/>
 
38
                </record>
 
39
        </data>
 
40
</openerp>