Skip to content
Snippets Groups Projects
Commit 9499b5d4 authored by Joren Van Onder's avatar Joren Van Onder
Browse files

[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
parent 82b9d7d5
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment