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

« back to all changes in this revision

Viewing changes to koi_account_query/report/query_payable_aging.xml

  • Committer: Andhitia Rama
  • Date: 2014-05-26 13:28:24 UTC
  • mfrom: (6.2.27 koi_account)
  • Revision ID: andhitia.r@gmail.com-20140526132824-rvf6nn46laf1gbov
MergeĀ denganĀ 7.0-accounting_query

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="tree_account_queryPayableAging" model="ir.ui.view">
 
6
        <field name="name">Tree Query Payable Aging</field>
 
7
        <field name="model">account.query_payable_aging</field>
 
8
        <field name="type">tree</field>
 
9
        <field name="arch" type="xml">
 
10
            <tree string="Query Payable Aging" create="false" delete="false">
 
11
                <field name="name"/>
 
12
                <field name="date"/>
 
13
                <field name="date_due"/>
 
14
                <field name="move_id"/>
 
15
                <field name="account_id"/>
 
16
                <field name="partner_id"/>
 
17
                <field name="company_id" invisible="1"/>
 
18
                <field name="journal_id"/>
 
19
                <field name="period_id"/>
 
20
                <field name="aging1"/>
 
21
                <field name="aging2"/>
 
22
                <field name="aging3"/>
 
23
                <field name="aging4"/>
 
24
                <field name="aging5"/>
 
25
           </tree>
 
26
        </field>
 
27
    </record>
 
28
 
 
29
    <record id="search_account_queryPayableAging" model="ir.ui.view">
 
30
        <field name="name">Search Query Payable Aging</field>
 
31
        <field name="model">account.query_payable_aging</field>
 
32
        <field name="type">search</field>
 
33
        <field name="arch" type="xml">
 
34
            <search string="Query Payable Aging">
 
35
                    <field name="name"/>
 
36
                    <field name="move_id"/>
 
37
                    <field name="account_id"/>
 
38
                    <field name="period_id"/>
 
39
                    <field name="date" string="Date From" filter_domain="[('date','&gt;=',self)]"/>
 
40
                    <field name="date" string="Date To" filter_domain="[('date','&lt;=',self)]"/>
 
41
                <group name="group_1" string="Journal">
 
42
 
 
43
                </group>
 
44
                <group name="group_3" string="Group By...">
 
45
                                        <filter string="# Move" domain="[]" context="{'group_by':'move_id'}"/>
 
46
                    <filter string="Account" domain="[]" context="{'group_by':'account_id'}"/>
 
47
                    <filter string="Partner" domain="[]" context="{'group_by':'partner_id'}"/>
 
48
                    <filter string="Journal" domain="[]" context="{'group_by':'journal_id'}"/>
 
49
                    <filter string="Period" domain="[]" context="{'group_by':'period_id'}"/>
 
50
                </group>   
 
51
                <group name="group_2" string="Period">
 
52
 
 
53
                </group>
 
54
                <group name="group_4" string="Entry State">
 
55
                    <filter name="unposted" string="Unposted" domain="[('state','=','draft')]"/>
 
56
                    <filter name="posted" string="Posted" domain="[('state','=','posted')]"/>
 
57
                </group>
 
58
 
 
59
             
 
60
            </search>
 
61
        </field>
 
62
    </record>
 
63
    
 
64
                <record id="waction_account_queryPayableAging" model="ir.actions.act_window">
 
65
                        <field name="name">Query Payable Aging</field>
 
66
                        <field name="type">ir.actions.act_window</field>
 
67
                        <field name="res_model">account.query_payable_aging</field>
 
68
                        <field name="search_view_id" ref="search_account_queryPayableAging"/>
 
69
                        <field name="view_type">form</field>
 
70
                        <field name="view_mode">tree</field>
 
71
                </record>
 
72
                
 
73
                <record id="wactionView_account_treeQueryBankInOut" model="ir.actions.act_window.view">
 
74
                        <field eval="10" name="sequence"/>
 
75
                        <field name="view_mode">tree</field>
 
76
                        <field name="view_id" ref="tree_account_queryPayableAging"/>
 
77
                        <field name="act_window_id" ref="waction_account_queryPayableAging"/>
 
78
                </record>    
 
79
 
 
80
</data>
 
81
</openerp>