~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_reconcilable_journal_items.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_queryReconcilableJournalItems" model="ir.ui.view">
 
6
        <field name="name">Tree Query Reconcilable Journal Items</field>
 
7
        <field name="model">account.query_reconcilable_journal_items</field>
 
8
        <field name="type">tree</field>
 
9
        <field name="arch" type="xml">
 
10
            <tree string="Query Reconcilable Journal Items" create="false" delete="false">
 
11
                <field name="name"/>
 
12
                <field name="date"/>
 
13
                <field name="move_id"/>
 
14
                <field name="account_id"/>
 
15
                <field name="partner_id"/>
 
16
                <field name="company_id" invisible="1"/>
 
17
                <field name="journal_id"/>
 
18
                <field name="period_id"/>
 
19
                <field name="debit" sum="Total Debit"/>
 
20
                <field name="credit" sum="Total Credit"/>
 
21
                <field name="reconcile_id"/>
 
22
                <field name="reconcile_partial_id"/>
 
23
           </tree>
 
24
        </field>
 
25
    </record>
 
26
 
 
27
    <record id="search_account_queryReconcilableJournalItems" model="ir.ui.view">
 
28
        <field name="name">Search Query Reconcilable Journal Items</field>
 
29
        <field name="model">account.query_reconcilable_journal_items</field>
 
30
        <field name="type">search</field>
 
31
        <field name="arch" type="xml">
 
32
            <search string="Query Reconcilable Journal Items">
 
33
                    <field name="name"/>
 
34
                    <field name="move_id"/>
 
35
                    <field name="account_id"/>
 
36
                    <field name="period_id"/>
 
37
                    <field name="journal_id"/>
 
38
                    <field name="reconcile_id"/>
 
39
                    <field name="reconcile_partial_id"/>
 
40
                    <field name="date" string="Date From" filter_domain="[('date','&gt;=',self)]"/>
 
41
                    <field name="date" string="Date To" filter_domain="[('date','&lt;=',self)]"/>
 
42
                <group name="group_1" string="Reconciliation Status">
 
43
                    <filter name="reconcile" string="Reconcile" domain="[('reconcile_id','!=',False)]"/>
 
44
                    <filter name="partial_reconcile" string="Partial Reconcile" domain="[('reconcile_partial_id','!=',False)]"/>
 
45
                    <filter name="no_reconcile" string="No Reconcile" domain="[('reconcile_id','=',False),('reconcile_partial_id','=',False)]"/>
 
46
                </group>
 
47
                <group name="group_3" string="Group By...">
 
48
                                        <filter string="# Move" domain="[]" context="{'group_by':'move_id'}"/>
 
49
                    <filter string="Account" domain="[]" context="{'group_by':'account_id'}"/>
 
50
                    <filter string="Partner" domain="[]" context="{'group_by':'partner_id'}"/>
 
51
                    <filter string="Journal" domain="[]" context="{'group_by':'journal_id'}"/>
 
52
                    <filter string="Period" domain="[]" context="{'group_by':'period_id'}"/>
 
53
                    <filter string="Reconcile" domain="[]" context="{'group_by':'reconcile_id'}"/>
 
54
                    <filter string="Partial Reconcile" domain="[]" context="{'group_by':'reconcile_partial_id'}"/>
 
55
                </group>   
 
56
                <group name="group_4" string="Entry State">
 
57
                    <filter name="unposted" string="Unposted" domain="[('state','=','draft')]"/>
 
58
                    <filter name="posted" string="Posted" domain="[('state','=','posted')]"/>
 
59
                </group>
 
60
             
 
61
            </search>
 
62
        </field>
 
63
    </record>
 
64
    
 
65
                <record id="waction_account_queryReconcilableJournalItems" model="ir.actions.act_window">
 
66
                        <field name="name">Query Reconcilable Journal Items</field>
 
67
                        <field name="type">ir.actions.act_window</field>
 
68
                        <field name="res_model">account.query_reconcilable_journal_items</field>
 
69
                        <field name="search_view_id" ref="search_account_queryReconcilableJournalItems"/>
 
70
                        <field name="view_type">form</field>
 
71
                        <field name="view_mode">tree</field>
 
72
            <field name="context">{'search_default_all':1}</field>
 
73
                </record>
 
74
                
 
75
                <record id="wactionView_account_treeQueryReconcilableJournalItems" model="ir.actions.act_window.view">
 
76
                        <field eval="10" name="sequence"/>
 
77
                        <field name="view_mode">tree</field>
 
78
                        <field name="view_id" ref="tree_account_queryReconcilableJournalItems"/>
 
79
                        <field name="act_window_id" ref="waction_account_queryReconcilableJournalItems"/>
 
80
                </record>    
 
81
 
 
82
</data>
 
83
</openerp>