Skip to content

Commit

Permalink
Merge PR #615 into 10.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 3ecd02a + 28864f6 commit 8a46568
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 @@ -92,7 +92,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 8a46568

Please sign in to comment.