Skip to content

Commit

Permalink
Merge PR #1998 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Jan 8, 2025
2 parents 472b5f9 + 6e7a4fb commit 16bbc58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ def _has_assets(group, group_val):
lambda r: r.type == "depreciate"
)
dls_all = dls_all.sorted(key=lambda r: r.line_date)
if not dls_all:
if not dls_all and asset.method_number:
error_dict["no_table"] += asset
# period_start_value
dls = dls_all.filtered(lambda r: r.line_date <= wiz.date_from)
Expand Down

0 comments on commit 16bbc58

Please sign in to comment.