Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove unnecessary line

Marcin Gębalaf76ede2ef631
diff --git a/saleor/order/utils.py b/saleor/order/utils.py
index eac66ad1e4..92497fc4a8 100644
--- a/saleor/order/utils.py
+++ b/saleor/order/utils.py
@@ -212,7 +212,6 @@ def add_variant_to_order(
variant=variant,
unit_price=variant.get_price(discounts, taxes),
tax_rate=get_tax_rate_by_name(variant.product.tax_rate, taxes))
- order.save(update_fields=['weight'])
if variant.track_inventory and track_inventory:
allocate_stock(variant, quantity)