From eaca66ab6408584c9f4e47abd2cd5b8887a01419 Mon Sep 17 00:00:00 2001 From: Oliver Date: Sun, 18 Dec 2022 07:15:22 +1100 Subject: [PATCH] Save newly created pricing object (#4076) (cherry picked from commit ef411861b904064584c80fc0bc8f3c360baa7ac1) --- InvenTree/part/tasks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/InvenTree/part/tasks.py b/InvenTree/part/tasks.py index 4579efef0f..c4a566a07e 100644 --- a/InvenTree/part/tasks.py +++ b/InvenTree/part/tasks.py @@ -123,4 +123,5 @@ def check_missing_pricing(limit=250): for p in results: pricing = p.pricing + pricing.save() pricing.schedule_for_update()