2011-05-09 09:16:07 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2011-06-02 08:37:18 +00:00
|
|
|
|
2011-06-06 10:06:29 +00:00
|
|
|
<record model="ir.ui.view" id="action_account_asset_report_graph">
|
2011-06-06 11:01:14 +00:00
|
|
|
<field name="name">asset.asset.report.graph</field>
|
|
|
|
<field name="model">asset.asset.report</field>
|
|
|
|
<field name="arch" type="xml">
|
2014-01-02 10:28:35 +00:00
|
|
|
<graph string="Assets Analysis" type="pivot">
|
2014-08-21 10:53:47 +00:00
|
|
|
<field name="asset_category_id" type="row"/>
|
|
|
|
<field name="purchase_date" type="col"/>
|
|
|
|
<field name="posted_value" type="measure"/>
|
2014-01-29 16:07:09 +00:00
|
|
|
<field name="gross_value" type="measure"/>
|
|
|
|
<field name="depreciation_value" type="measure"/>
|
2011-06-06 11:01:14 +00:00
|
|
|
</graph>
|
|
|
|
</field>
|
2011-05-09 09:16:07 +00:00
|
|
|
</record>
|
2014-08-21 10:53:47 +00:00
|
|
|
|
2011-05-09 09:16:07 +00:00
|
|
|
<record id="view_asset_asset_report_search" model="ir.ui.view">
|
|
|
|
<field name="name">asset.asset.report.search</field>
|
2011-06-06 11:01:14 +00:00
|
|
|
<field name="model">asset.asset.report</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<search string="Assets Analysis">
|
2012-07-19 12:44:12 +00:00
|
|
|
<field name="purchase_date"/>
|
|
|
|
<field name="depreciation_date"/>
|
2014-08-21 10:53:47 +00:00
|
|
|
<filter string="Draft" domain="[('state','=','draft')]" help="Assets in draft state"/>
|
|
|
|
<filter string="Running" domain="[('state','=','open')]" help="Assets in running state"/>
|
2012-07-19 12:44:12 +00:00
|
|
|
<separator/>
|
2014-08-21 10:53:47 +00:00
|
|
|
<filter string="Posted" name="posted" domain="[('move_check','=',True)]" help="Posted depreciation lines" context="{'unposted_value_visible': 0}"/>
|
2012-07-31 11:28:04 +00:00
|
|
|
<field name="asset_id"/>
|
|
|
|
<field name="asset_category_id"/>
|
2012-04-25 13:40:18 +00:00
|
|
|
<group expand="0" string="Extended Filters...">
|
2013-04-20 02:26:42 +00:00
|
|
|
<field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/>
|
2012-07-19 12:44:12 +00:00
|
|
|
<field name="company_id" groups="base.group_multi_company"/>
|
2011-06-24 06:22:02 +00:00
|
|
|
</group>
|
2014-05-22 09:44:35 +00:00
|
|
|
<group expand="1" string="Group By">
|
2011-06-24 06:22:02 +00:00
|
|
|
<filter string="Asset" name="asset" context="{'group_by':'asset_id'}"/>
|
2014-08-21 10:53:47 +00:00
|
|
|
<filter string="Asset Category" name="asset_category" context="{'group_by':'asset_category_id'}"/>
|
|
|
|
<filter string="Company" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
|
|
|
|
<separator/>
|
|
|
|
<filter string="Purchase Month" help="Date of asset purchase"
|
|
|
|
context="{'group_by':'purchase_date:month'}"/>
|
|
|
|
<filter string="Depreciation Month" help="Date of depreciation"
|
|
|
|
context="{'group_by':'depreciation_date:month'}"/>
|
2011-06-24 06:22:02 +00:00
|
|
|
</group>
|
2014-08-21 10:53:47 +00:00
|
|
|
</search>
|
2011-06-06 11:01:14 +00:00
|
|
|
</field>
|
2011-05-09 09:16:07 +00:00
|
|
|
</record>
|
2014-08-21 10:53:47 +00:00
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_asset_asset_report">
|
2011-06-06 10:06:29 +00:00
|
|
|
<field name="name">Assets Analysis</field>
|
|
|
|
<field name="res_model">asset.asset.report</field>
|
|
|
|
<field name="view_type">form</field>
|
2014-01-02 10:28:35 +00:00
|
|
|
<field name="view_mode">graph</field>
|
2011-06-06 10:06:29 +00:00
|
|
|
<field name="search_view_id" ref="view_asset_asset_report_search"/>
|
2014-08-21 10:53:47 +00:00
|
|
|
<field name="context">{'group_by':[], 'group_by_no_leaf':1}</field>
|
2012-08-04 14:35:56 +00:00
|
|
|
<field name="help" type="html">
|
2012-08-04 13:21:36 +00:00
|
|
|
<p>
|
|
|
|
From this report, you can have an overview on all depreciation. The
|
|
|
|
tool search can also be used to personalise your Assets reports and
|
|
|
|
so, match this analysis to your needs;
|
|
|
|
</p>
|
|
|
|
</field>
|
2011-05-09 09:16:07 +00:00
|
|
|
</record>
|
2014-08-21 10:53:47 +00:00
|
|
|
|
2011-05-09 09:16:07 +00:00
|
|
|
<menuitem action="action_asset_asset_report"
|
2012-06-28 06:40:05 +00:00
|
|
|
id="menu_action_asset_asset_report"
|
2012-06-29 12:36:18 +00:00
|
|
|
parent="account.menu_finance_reporting"/>
|
2011-05-09 09:16:07 +00:00
|
|
|
</data>
|
|
|
|
</openerp>
|