-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Align some deprecation messages in Order model #3135
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elia Can you take a look at the spec failures?
After update! => recalculate rename. ref: - solidusio#1689 - solidusio#2072
It does it in the OrderUpdater#update_shipment_amounts.
OrderUpdater already does the same thing within update_taxes.
@jacobherrington fixed, removed the expectation as its already part of order updater: solidus/core/app/models/spree/order_updater.rb Lines 138 to 142 in 208febe
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume that at this point no one is using those deprecated methods so 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@jacobherrington can you please review again? 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯 Thanks @elia!
Description
After update! => recalculate rename.
ref:
❓shouldcreate_tax_charge!
implementation be replaced with a call torecalculate
too?Checklist: