Skip to content

Commit

Permalink
cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
Prazn committed Sep 26, 2024
1 parent 7c95fc3 commit f8080a9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sponsorship_compassion/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def _compute_children(self):
"""View children contained in invoice."""
for invoice in self:
children = invoice.mapped("line_ids.contract_id.child_id")

if len(children) > 1:
num_children = len(children)
invoice.children = f"{num_children} children"
Expand Down

0 comments on commit f8080a9

Please sign in to comment.