def save(self, *args, **kwargs):
        pc = self.get_price_calculator(None)
        self.effective_price = pc.get_effective_price()
        if self.is_variant():
            dv = self.parent.get_default_variant()
            # if this is default variant
            if dv and self.pk == dv.pk:
                # trigger effective price calculation for parent to have it set to price of default variant
                super(Product, self).save(*args, **kwargs)
                self.parent.save()
            else:
                super(Product, self).save(*args, **kwargs)
        else:
            super(Product, self).save(*args, **kwargs)
Overwritten to save effective_price.
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/models.py/Product.save