diff --git a/InvenTree/part/models.py b/InvenTree/part/models.py index 9ff41673ce..b3b409b5b1 100644 --- a/InvenTree/part/models.py +++ b/InvenTree/part/models.py @@ -2432,7 +2432,11 @@ class PartPricing(common.models.MetaMixin): # If something has happened to the Part model, might throw an error pass - super().save(*args, **kwargs) + try: + super().save(*args, **kwargs) + except IntegrityError: + # This error may be thrown if there is already duplicate pricing data + pass def update_bom_cost(self, save=True): """Recalculate BOM cost for the referenced Part instance.