From 7db3f32821586b3376c713f8c6a0e8ad9d26463f Mon Sep 17 00:00:00 2001 From: Valentin Vinagre Urteaga Date: Fri, 3 Jul 2020 15:01:24 +0200 Subject: [PATCH] [IMP] account_asset_management: Add scheduled action for the depreciation asset entries creation. --- account_asset_management/__manifest__.py | 1 + account_asset_management/data/cron.xml | 17 +++++++++++++++++ account_asset_management/readme/DESCRIPTION.rst | 8 ++++++++ 3 files changed, 26 insertions(+) create mode 100644 account_asset_management/data/cron.xml diff --git a/account_asset_management/__manifest__.py b/account_asset_management/__manifest__.py index 90f8796e..db27a0fa 100644 --- a/account_asset_management/__manifest__.py +++ b/account_asset_management/__manifest__.py @@ -24,5 +24,6 @@ "views/account_move.xml", "views/account_move_line.xml", "views/menuitem.xml", + "data/cron.xml", ], } diff --git a/account_asset_management/data/cron.xml b/account_asset_management/data/cron.xml new file mode 100644 index 00000000..ba591ecf --- /dev/null +++ b/account_asset_management/data/cron.xml @@ -0,0 +1,17 @@ + + + + + Asset Management: Generate assets + + code + model.create({}).asset_compute() + + 1 + days + -1 + + + + + diff --git a/account_asset_management/readme/DESCRIPTION.rst b/account_asset_management/readme/DESCRIPTION.rst index 403e99d4..fc2e688f 100644 --- a/account_asset_management/readme/DESCRIPTION.rst +++ b/account_asset_management/readme/DESCRIPTION.rst @@ -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 (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. The module contains a large number of functional enhancements compared to