mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-19 04:49:15 +00:00
Merge pull request #12954 from rioug/fix-shipment-not-updated
Ensure shipment gets updated when an order is updated
This commit is contained in:
@@ -38,6 +38,7 @@ module Spree
|
||||
line_item.price = variant.price
|
||||
order.line_items << line_item
|
||||
end
|
||||
update_shipment
|
||||
|
||||
order.reload
|
||||
line_item
|
||||
|
||||
Reference in New Issue
Block a user