Commit Graph

4 Commits

Author SHA1 Message Date
Nicolas Martinelli 2508786127 [FIX] account_asset: first depreciation amount
When an asset is set as Prorata Temporis, with a one month period, the
first depreciation amount is computed on the basis of the remaining days
in the purchase year. This doesn't make sense for a monthly
depreciation.

This commit makes the distinction between a monthly and a yearly
depreciation. In the case of a monthly depreciation, the remaining days
in the purchase month are taken into account.

opw-690034
2016-11-03 09:15:05 +01:00
Raphael Collet 2b6890f9b2 [MERGE] account_asset: clean yml tests
bzr revid: rco@openerp.com-20111220100842-3ny7trt6s5lgg1eb
2011-12-20 11:08:42 +01:00
Turkesh Patel (Open ERP) 17045d2770 [IMP] improved YML test case of account_asset module
bzr revid: tpa@tinyerp.com-20111214100946-iia27i70n9ugdmgv
2011-12-14 15:39:46 +05:30
Mayur Maheshwari (OpenERP) 5b8be84377 [IMP]account_asset: remove a unused a record and a set a demo data & improve a file, added a new yml file for wizard and add a yml demo data for account_asset
bzr revid: mma@tinyerp.com-20111128125046-p8go329rsmcwya8d
2011-11-28 18:20:46 +05:30