mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-06 10:21:18 +00:00
Rename check_bom to validate_bom
This commit is contained in:
1 parent
985986a844
commit
06deccca1c
1 file changed
+1
-1
@@ -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