summaryrefslogtreecommitdiff
path: root/archaeological_warehouse
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_warehouse')
-rw-r--r--archaeological_warehouse/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py
index 392082ba9..82b1e7e4b 100644
--- a/archaeological_warehouse/models.py
+++ b/archaeological_warehouse/models.py
@@ -1357,7 +1357,6 @@ class Container(
return True
return False
-
def _calculate_weight(self) -> bool:
"""
Calculate the weight of the contained finds + tare weight of the
@@ -1970,6 +1969,7 @@ class Container(
parent = Container.objects.filter(pk=parent).values_list("parent_id")[0][0]
if number > self.location.max_division_number:
self.location.max_division_number = number
+ self.location.no_post_process()
self.location.save()
def post_delete_to_update(self):