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

« back to all changes in this revision

Viewing changes to ar_account/view/view_Asset.xml

  • Committer: Andhitia Rama
  • Date: 2015-08-21 01:02:35 UTC
  • Revision ID: andhitia.r@gmail.com-20150821010235-v76g921474m5avsn
Perbaikan search view asset

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
                <data>
10
10
                    <xpath expr="/search" position="replace">
11
11
                        <search>
 
12
                            <field name="code"/>
 
13
                            <field name="name"/>
 
14
                            <field name="category_id"/>
 
15
                            <field name="purchase_date"/>
 
16
                            <field name="first_depreciation_date"/>
 
17
                            <field name="analytic_account_id"/>
12
18
                            <field name="check_date" context="{'check_date' : self}"/>
 
19
                            <group name="group_1" string="Registration Status">
 
20
                                <filter string="New" domain="[('asset_registration_status','=','new')]"/>
 
21
                                <filter string="Existing" domain="[('asset_registration_status','=','existing')]"/>
 
22
                            </group>
 
23
                            <group name="group_2" string="State">
 
24
                                <filter string="New" domain="[('state','=','draft')]"/>
 
25
                                <filter string="Acquiring" domain="[('state','=','acquiring')]"/>
 
26
                                <filter string="Active" domain="[('state','=','open')]"/>
 
27
                                <filter string="Disposing" domain="[('state','=','disposing')]"/>
 
28
                                <filter string="Disposed" domain="[('state','=','close')]"/>
 
29
                            </group>
 
30
                            <group name="group_3" string="Group By..">
 
31
                                <filter string="In-Service Date" context="{'group_by' : 'purchase_date'}"/>
 
32
                                <filter string="First Depreciation Date" context="{'group_by' : 'first_depreciation_date'}"/>
 
33
                                <filter string="Registration Status" context="{'group_by' : 'asset_registration_status'}"/>
 
34
                                <filter string="State" context="{'group_by' : 'state'}"/>
 
35
                            </group>
13
36
                        </search>
14
37
                    </xpath>
15
38