2015-02-12 11:51:18 +01:00
|
|
|
<?xml version="1.0" ?>
|
2018-08-05 20:33:56 +02:00
|
|
|
<odoo>
|
2015-02-12 11:51:18 +01:00
|
|
|
<data noupdate="1">
|
|
|
|
|
2018-08-05 20:33:56 +02:00
|
|
|
<record id="date_range_fy" model="date.range">
|
|
|
|
<field name="type_id" ref="account_fiscal_year.fiscalyear" />
|
|
|
|
<field name="name">FY_assets</field>
|
|
|
|
<field name="date_start" eval="time.strftime('%Y-01-01')"/>
|
|
|
|
<field name="date_end" eval="time.strftime('%Y-12-31')"/>
|
|
|
|
<field name="company_id" ref="base.main_company"/>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="date_range_fy_previous" model="date.range">
|
|
|
|
<field name="type_id" ref="account_fiscal_year.fiscalyear" />
|
|
|
|
<field name="name">FY_assets previous</field>
|
|
|
|
<field name="date_start" eval="(datetime.now() - relativedelta(years=1, month=1, day=1)).strftime('%Y-%m-%d')"/>
|
|
|
|
<field name="date_end" eval="(datetime.now() - relativedelta(years=1, month=12, day=31)).strftime('%Y-%m-%d')"/>
|
|
|
|
<field name="company_id" ref="base.main_company"/>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<!-- Type View Assets -->
|
2015-02-12 11:51:18 +01:00
|
|
|
|
2018-08-05 20:33:56 +02:00
|
|
|
<record id="account_asset_view_fa" model="account.asset">
|
2015-02-12 11:51:18 +01:00
|
|
|
<field name="type">view</field>
|
|
|
|
<field name="state">open</field>
|
|
|
|
<field name="name">Financial Assets</field>
|
|
|
|
<field name="purchase_value" eval="0.0"/>
|
|
|
|
</record>
|
|
|
|
|
2018-08-05 20:33:56 +02:00
|
|
|
<record id="account_asset_view_ict" model="account.asset">
|
2015-02-12 11:51:18 +01:00
|
|
|
<field name="type">view</field>
|
|
|
|
<field name="state">open</field>
|
|
|
|
<field name="name">ICT</field>
|
|
|
|
<field name="parent_id" ref="account_asset_view_fa"/>
|
|
|
|
<field name="purchase_value" eval="0.0"/>
|
|
|
|
</record>
|
|
|
|
|
2018-08-05 20:33:56 +02:00
|
|
|
<record id="account_asset_view_vehicle" model="account.asset">
|
2015-02-12 11:51:18 +01:00
|
|
|
<field name="type">view</field>
|
|
|
|
<field name="state">open</field>
|
|
|
|
<field name="name">Vehicles</field>
|
|
|
|
<field name="parent_id" ref="account_asset_view_fa"/>
|
|
|
|
<field name="purchase_value" eval="0.0"/>
|
|
|
|
</record>
|
|
|
|
|
2018-08-05 20:33:56 +02:00
|
|
|
<!-- Asset profiles -->
|
2015-02-12 11:51:18 +01:00
|
|
|
|
2018-08-05 20:33:56 +02:00
|
|
|
<record id="account_asset_profile_ict_3Y" model="account.asset.profile">
|
2015-02-12 11:51:18 +01:00
|
|
|
<field name="parent_id" ref="account_asset_view_ict"/>
|
|
|
|
<field name="account_expense_depreciation_id" ref="account.a_expense"/>
|
|
|
|
<field name="account_asset_id" ref="account.xfa"/>
|
|
|
|
<field name="account_depreciation_id" ref="account.xfa"/>
|
|
|
|
<field name="journal_id" ref="account.expenses_journal"/>
|
|
|
|
<field name="name">Hardware - 3 Years</field>
|
|
|
|
<field name="method_time">year</field>
|
|
|
|
<field name="method_number" eval="3"/>
|
|
|
|
<field name="method_period">year</field>
|
|
|
|
</record>
|
|
|
|
|
2018-08-05 20:33:56 +02:00
|
|
|
<record id="account_asset_profile_car_5Y" model="account.asset.profile">
|
2015-02-12 11:51:18 +01:00
|
|
|
<field name="parent_id" ref="account_asset_view_vehicle"/>
|
|
|
|
<field name="account_expense_depreciation_id" ref="account.a_expense"/>
|
|
|
|
<field name="account_asset_id" ref="account.xfa"/>
|
|
|
|
<field name="account_depreciation_id" ref="account.xfa"/>
|
|
|
|
<field name="journal_id" ref="account.expenses_journal"/>
|
|
|
|
<field name="name">Cars - 5 Years</field>
|
|
|
|
<field name="method_time">year</field>
|
|
|
|
<field name="method_number" eval="5"/>
|
|
|
|
<field name="method_period">year</field>
|
|
|
|
</record>
|
|
|
|
|
2018-08-05 20:33:56 +02:00
|
|
|
<!-- Assets -->
|
2015-02-12 11:51:18 +01:00
|
|
|
|
2018-08-05 20:33:56 +02:00
|
|
|
<record id="account_asset_asset_ict0" model="account.asset">
|
2015-02-12 11:51:18 +01:00
|
|
|
<field name="parent_id" ref="account_asset_view_ict"/>
|
|
|
|
<field name="state">draft</field>
|
|
|
|
<field name="method_time">year</field>
|
|
|
|
<field name="method_number" eval="3"/>
|
|
|
|
<field name="method_period">year</field>
|
|
|
|
<field name="date_start" eval="time.strftime('%Y-01-01')"/>
|
|
|
|
<field name="name">Laptop</field>
|
|
|
|
<field name="code">PI00101</field>
|
|
|
|
<field name="purchase_value" eval="1500.0"/>
|
2018-08-05 20:33:56 +02:00
|
|
|
<field name="profile_id" ref="account_asset_profile_ict_3Y"/>
|
2015-02-12 11:51:18 +01:00
|
|
|
</record>
|
|
|
|
|
2018-08-05 20:33:56 +02:00
|
|
|
<record id="account_asset_asset_vehicle0" model="account.asset">
|
2015-02-12 11:51:18 +01:00
|
|
|
<field name="parent_id" ref="account_asset_view_vehicle"/>
|
|
|
|
<field name="state">draft</field>
|
|
|
|
<field name="method_time">year</field>
|
|
|
|
<field name="method_number" eval="5"/>
|
|
|
|
<field name="method_period">year</field>
|
|
|
|
<field name="name">CEO's Car</field>
|
|
|
|
<field name="purchase_value" eval="12000.0"/>
|
|
|
|
<field name="salvage_value" eval="2000.0"/>
|
2018-08-05 20:33:56 +02:00
|
|
|
<field name="profile_id" ref="account_asset_profile_car_5Y"/>
|
2015-02-12 11:51:18 +01:00
|
|
|
</record>
|
|
|
|
|
|
|
|
</data>
|
2018-08-05 20:33:56 +02:00
|
|
|
</odoo>
|