diff --git a/store/models.py b/store/models.py index 3f2e8dc..e85e135 100644 --- a/store/models.py +++ b/store/models.py @@ -577,7 +577,7 @@ class Checklist(models.Model): self.price_snapshot = None snapshot, _ = PriceSnapshot.objects.get_or_create( - checklist__id=self.price_snapshot_id, + checklist__id=self.id, defaults={ 'yuan_rate': self.yuan_rate, 'delivery_price_CN': self.delivery_price_CN,