* Fixed wrong id for PriceSnapshot
This commit is contained in:
parent
0e5c0ce16f
commit
aa3aa00ae1
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user