2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 03:25:42 +00:00

Make BOM tab badge red if the BOM is not validated

This commit is contained in:
Oliver Walters
2019-05-12 13:12:04 +10:00
parent 06deccca1c
commit 9149619f38
3 changed files with 7 additions and 2 deletions

View File

@ -505,7 +505,7 @@ class Part(models.Model):
@transaction.atomic
def validate_bom(self, user):
""" Check the BOM (mark the BOM as validated by the given User.
""" Validate the BOM (mark the BOM as validated by the given User.
- Calculates and stores the hash for the BOM
- Saves the current date and the checking user