mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-24 16:57:30 +00:00
(cherry picked from commit 28fea388f6)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
1 parent
e013f03422
commit
8df20e39ab
1 file changed
+3
-1
@@ -2957,7 +2957,9 @@ class PartPricing(common.models.MetaMixin):
|
||||
try:
|
||||
self.refresh_from_db()
|
||||
except PartPricing.DoesNotExist:
|
||||
pass
|
||||
# The underlying Part (and this pricing entry) has been deleted
|
||||
# since this update was scheduled - nothing to do
|
||||
return
|
||||
|
||||
self.update_bom_cost(save=False)
|
||||
self.update_purchase_cost(save=False)
|
||||
|
||||
Reference in new issue
Block a user