fix: Dont rebuild cache on cache bust (#18319)
- Results in a lot of stale background jobs - Cache will be built when needed
This commit is contained in:
parent
e37ff39836
commit
280fe396b9
@ -1007,7 +1007,7 @@ def invalidate_item_variants_cache_for_website(doc):
|
|||||||
|
|
||||||
if item_code:
|
if item_code:
|
||||||
item_cache = ItemVariantsCacheManager(item_code)
|
item_cache = ItemVariantsCacheManager(item_code)
|
||||||
item_cache.rebuild_cache()
|
item_cache.clear_cache()
|
||||||
|
|
||||||
|
|
||||||
def check_stock_uom_with_bin(item, stock_uom):
|
def check_stock_uom_with_bin(item, stock_uom):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user