diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2016-11-02 14:44:06 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2016-11-03 09:15:05 +0100 |
| commit | 25087861271caf6dc9dab6aef46f40bd89cb575f (patch) | |
| tree | 683e135376d1ec04acd191446dcb42d7933db691 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | f2158e32c80d9a34aa4ba57e217e5664fca1e985 (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
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
