Skip to content

Commit

Permalink
Merge branch '14.0-fix-assets_management-show-asset-not-depreciated' …
Browse files Browse the repository at this point in the history
…of git+ssh://github.com/sergiocorato/l10n-italy into 14.0-fix-assets_management-supermerge
  • Loading branch information
sergiocorato committed Jun 19, 2023
2 parents cd06e41 + c0d1c6c commit fae532a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets_management/report/asset_journal.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def generate_structure(self):
dep_lines = dep_lines.filtered(lambda dl: dl.date <= self.date)
categories = assets.mapped("category_id")

if not (categories and assets and deps and dep_lines):
if not (categories and assets and deps):
raise ValidationError(
_("There is nothing to print according to current settings!")
)
Expand Down

0 comments on commit fae532a

Please sign in to comment.