Skip to content

Commit

Permalink
Merge PR #616 into 9.0
Browse files Browse the repository at this point in the history
Signed-off-by max3903
  • Loading branch information
OCA-git-bot committed Dec 23, 2024
2 parents 958955e + d0abc15 commit e80b2dc
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 @@ -108,7 +108,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 e80b2dc

Please sign in to comment.