summaryrefslogtreecommitdiff
path: root/addons/base_import/static/src/xml
diff options
context:
space:
mode:
authorJoren Van Onder <jov@odoo.com>2016-05-27 13:10:18 +0200
committerJoren Van Onder <jov@odoo.com>2016-05-27 13:51:56 +0200
commit9499b5d4d2481f79226ddbcf1e66176ce216b6fc (patch)
tree7f7606535bfd38e9026d0583ded44e30a4fbc51e /addons/base_import/static/src/xml
parent82b9d7d51133a2b0510092c823ba7b6db4f9b565 (diff)
[FIX] account_asset: use newest depreciation date for new depreciations
The code uses self.depreciation_line_ids[0] and incorrectly assumes it is always the latest (newest) depreciation line. This sorts the recordset to guarantee that this is true. opw-678678
Diffstat (limited to 'addons/base_import/static/src/xml')
0 files changed, 0 insertions, 0 deletions