mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-13 10:35:40 +00:00
Rename check_bom to validate_bom
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user