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: add fetch from to currency and set default to empty in item price #46620

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mihir-kandoi
Copy link
Contributor

fixes #46618

code is pretty self explanatory

@@ -150,6 +150,8 @@
},
{
"bold": 1,
"default": " ",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note to reviewer: For some reason even when no default was set, the field was being defaulted to INR. I could not find what causes this but this fix works perfectly fine. If there is another way to avoid setting it to just a single space, please let me know.

Copy link
Member

@deepeshgarg007 deepeshgarg007 Mar 21, 2025

Choose a reason for hiding this comment

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

This could be from global defaults or some internal function might be setting this
Setting it to blank is incorrect.

Even fetch from doesn't look like a proper fix

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I understand the blank space thing but why fetch from is wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Currency automatically changed in the price list
2 participants