2
0

[IMP] account_asset_management: Add scheduled action for the depreciation asset entries creation.

This commit is contained in:
Valentin Vinagre Urteaga 2020-07-03 15:01:24 +02:00 committed by Rodrigo
parent 91f989be0e
commit 7db3f32821
3 changed files with 26 additions and 0 deletions

View File

@ -24,5 +24,6 @@
"views/account_move.xml", "views/account_move.xml",
"views/account_move_line.xml", "views/account_move_line.xml",
"views/menuitem.xml", "views/menuitem.xml",
"data/cron.xml",
], ],
} }

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<data noupdate="1">
<record forcecreate="True" id="ir_cron_assets_generator" model="ir.cron">
<field name="name">Asset Management: Generate assets</field>
<field name="model_id" ref="model_account_asset_compute" />
<field name="state">code</field>
<field name="code">model.create({}).asset_compute()</field>
<field name="user_id" ref="base.user_root" />
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
<field name="active" eval="False" />
<field name="doall" eval="False" />
</record>
</data>
</odoo>

View File

@ -7,6 +7,14 @@ The full asset life-cycle is managed (from asset creation to asset removal).
Assets can be created manually as well as automatically Assets can be created manually as well as automatically
(via the creation of an accounting entry on the asset account). (via the creation of an accounting entry on the asset account).
Depreciation Journal Entries can be created manually in the "Deprecation Board" tab,
or automatically by two ways:
* Using the "Invoicing/Assets/Compute Assets" wizard.
* Activating the "Asset Management: Generate assets" cron.
These options are compatibles each other.
Excel based reporting is available via the 'account_asset_management_xls' module. Excel based reporting is available via the 'account_asset_management_xls' module.
The module contains a large number of functional enhancements compared to The module contains a large number of functional enhancements compared to