OCA / account-financial-tools

Odoo Accountant Financial Tools and Utils
GNU Affero General Public License v3.0
300 stars 741 forks source link

[IMP]asset management: add depreciated value to facilitate import #1857

Open luc-demeyer opened 2 months ago

luc-demeyer commented 2 months ago

Module: account_asset_manangement

This commit adds the fields import_depreciated_value, import_depreciated_date to facilitate importing assets from another accounting package.

Assume You have an asset of 5000 EUR, depreciated over 5 years whereby 700 EUR has already been depreciated previous fiscal year. If you set import_depreciated_value to 700 and import_date to the last day of your previous fiscal year in the import file the depreciation table will be calculated as from the beginning of the current fiscal year and a single 'init' entry will be created on the last day of the previous fiscal year.