2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-10 23:14:13 +00:00

Cleanup "bom_invalid" filter

- Allow filtering by bom either valid or invalid
- Use "bom_valid" as the filter (positive tense)
This commit is contained in:
Oliver Walters
2020-09-19 21:03:49 +10:00
parent 87d0d872e0
commit 1b6843e72d
3 changed files with 16 additions and 12 deletions

View File

@ -845,7 +845,6 @@ class Part(MPTTModel):
return str(hash.digest())
@property
def is_bom_valid(self):
""" Check if the BOM is 'valid' - if the calculated checksum matches the stored value
"""