Merge pull request #12954 from rioug/fix-shipment-not-updated

Ensure shipment gets updated when an order is updated
This commit is contained in:
Filipe
2024-12-26 15:56:12 -06:00
committed by GitHub
2 changed files with 13 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ module Spree
line_item.price = variant.price
order.line_items << line_item
end
update_shipment
order.reload
line_item