Skip to content
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

fix incorrect rounding of final weight volume #12970

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bouaik
Copy link
Contributor

@bouaik bouaik commented Nov 9, 2024

What? Why?

image
image

Release notes

Changelog Category (reviewers may add a label for the release notes):

  • User facing changes
  • API changes (V0, V1, DFC or Webhook)
  • Technical changes only
  • Feature toggled

The title of the pull request will be included in the release notes.

Dependencies

Documentation updates

Copy link
Collaborator

@rioug rioug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one 👍 Thanks @bouaik 🙏

Copy link
Member

@dacook dacook left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this and providing great documentation 📄 👍

end

def down
change_column :spree_line_items, :final_weight_volume, :decimal, precision: 10, scale: 2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noting that this action would be destructive.. but I guess if somebody was running the down action they would be expecting that.

@dacook dacook added the bug-s3 The bug is stopping a critical or non-critical feature but there is a usable workaround. label Nov 18, 2024
@filipefurtad0
Copy link
Contributor

Hey @bouaik,
Apologies we've taken so long to test this PR. In the meantime, some conflicts have arisen with master.

Are you available to address these?

Thank you.

@sigmundpetersen sigmundpetersen added the user facing changes Thes pull requests affect the user experience label Dec 4, 2024
@filipefurtad0
Copy link
Contributor

Moved this issue to In Progress so conflicts can be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-s3 The bug is stopping a critical or non-critical feature but there is a usable workaround. feedback-needed user facing changes Thes pull requests affect the user experience
Projects
Status: In Progress ⚙
Development

Successfully merging this pull request may close these issues.

Inconsistent rounding truncates smallest digit for mL units
5 participants