From 06deccca1c653b16c9e2c0dc5cff9bb010f9229e Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sun, 12 May 2019 13:01:41 +1000 Subject: [PATCH] Rename check_bom to validate_bom --- InvenTree/part/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/part/models.py b/InvenTree/part/models.py index 5f844228d6..434c91be1a 100644 --- a/InvenTree/part/models.py +++ b/InvenTree/part/models.py @@ -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