Commit bbe7065
Allow the order updater to handle non-persisted line items
In an associated change we made the `CreateDiscountedItem` benefit
create in-memory line items. That causes an issue during the
recalculation of the item totals.
Co-authored-by: benjamin wil <benjamin@super.gd>
Co-authored-by: Kendra Riga <kendra@super.gd>
Co-authored-by: Noah Silvera <noah@super.gd>
Co-authored-by: Jared Norman <jared@super.gd>1 parent cec63a8 commit bbe7065
File tree
2 files changed
+10
-12
lines changed- core/app/models/spree
- legacy_promotions/app/patches/models/solidus_legacy_promotions
2 files changed
+10
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
240 | | - | |
| 239 | + | |
241 | 240 | | |
242 | 241 | | |
243 | 242 | | |
| |||
Lines changed: 8 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
0 commit comments