Skip to content

Commit

Permalink
Merge PR #614 into 11.0
Browse files Browse the repository at this point in the history
Signed-off-by max3903
  • Loading branch information
OCA-git-bot committed Jan 9, 2025
2 parents cac1b63 + a98ca73 commit f60328a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mgmtsystem_audit/models/mgmtsystem_audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class MgmtsystemAudit(models.Model):
def _compute_number_of_nonconformities(self):
"""Count number of nonconformities."""
for audit in self:
audit.number_of_nonconformities = len(self.nonconformity_ids)
audit.number_of_nonconformities = len(audit.nonconformity_ids)

@api.depends("imp_opp_ids")
def _compute_number_of_improvement_opportunities(self):
Expand Down

0 comments on commit f60328a

Please sign in to comment.