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

Fixes for unit tests

This commit is contained in:
Oliver Walters
2020-10-30 21:34:56 +11:00
parent e049ca1a85
commit 1caa341f8e
6 changed files with 13 additions and 12 deletions

View File

@ -1141,7 +1141,7 @@ class Part(MPTTModel):
if clear:
self.get_parameters().delete()
for parameter in other.get_parameters.all():
for parameter in other.get_parameters():
# If this part already has a parameter pointing to the same template,
# delete that parameter from this part first!