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 1 commit 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
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.
Projects
Status: Test Ready 🧪
Development

Successfully merging this pull request may close these issues.

Inconsistent rounding truncates smallest digit for mL units
3 participants