diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2016-11-02 15:24:20 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-11-08 11:43:38 +0100 |
| commit | 40f2d55190a90274816f58da93452bf50ba3f507 (patch) | |
| tree | 6a91fc1101124599cfc1fa2c7a2e2209531de240 /addons/web/static/src/js/framework | |
| parent | ab8d07cf1f505c2ab05e69b75eb7e8bc1baff09d (diff) | |
[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
Backport of 0a3899b72c8d1927abaf81edbe4a1de2f2da7aa8
The fiscal year start date should be taken into account when calculating
the depreciation amount in case of prorata temporis.
opw-678072
Backport of e69d9b8b7df9d55ac8d8709d622c31fef9480a23
Diffstat (limited to 'addons/web/static/src/js/framework')
0 files changed, 0 insertions, 0 deletions
