Rename check_bom to validate_bom
This commit is contained in:
parent
985986a844
commit
06deccca1c
|
|
@ -504,7 +504,7 @@ class Part(models.Model):
|
|||
return self.get_bom_hash() == self.bom_checksum
|
||||
|
||||
@transaction.atomic
|
||||
def check_bom(self, user):
|
||||
def validate_bom(self, user):
|
||||
""" Check the BOM (mark the BOM as validated by the given User.
|
||||
|
||||
- Calculates and stores the hash for the BOM
|
||||
|
|
|
|||
Loading…
Reference in New Issue