mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +00:00
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
|
return self.get_bom_hash() == self.bom_checksum
|
||||||
|
|
||||||
@transaction.atomic
|
@transaction.atomic
|
||||||
def check_bom(self, user):
|
def validate_bom(self, user):
|
||||||
""" Check the BOM (mark the BOM as validated by the given User.
|
""" Check the BOM (mark the BOM as validated by the given User.
|
||||||
|
|
||||||
- Calculates and stores the hash for the BOM
|
- Calculates and stores the hash for the BOM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user