-
Notifications
You must be signed in to change notification settings - Fork 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
[HOLD for payment 2024-05-22] Tax - Unable to save valid tax rate amount when changing currency for the first time #42047
Comments
Triggered auto assignment to @lakchote ( |
Triggered auto assignment to @abekkala ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open Staging deploy checklist to see the list of PRs included in this release, then work quickly on the following:
Remember rule #2: Never un-assign yourself from a real DeployBlocker unless you are 100% sure someone else is assigned and will take care of it. |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
@abekkala I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors. |
We think this issue might be related to the #collect project. |
Production Recording.2448.mp4 |
I can quickly open a PR. This was caused by #40443. ProposalPlease re-state the problem that we are trying to solve in this issue.Unable to save valid tax rate amount when changing currency for the first time What is the root cause of that problem?We are not using the selected currency while finding the tax rate in App/src/pages/iou/request/step/IOURequestStepTaxAmountPage.tsx Lines 37 to 50 in cf14505
App/src/libs/TransactionUtils.ts Lines 661 to 665 in cf14505
We are always taking the currency via the transaction. What changes do you think we should make in order to solve the problem?Pass currency to
Pass the currency to
|
@ShridharGoel's proposal works good. The RCA seems to be correct as well. We are always taking into account the transaction currency rather than the selected currency. 🎀 👀 🎀 C+ reviewed |
Current assignees @cristipaval and @lakchote are eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
This one seems to be the offending PR. @MonilBhavsar could you please have a look at this deploy blocker? |
ah, sorry @lakchote , it seems you were on it already 🙇 |
@ShridharGoel feel free to raise a PR whenever you can so we can test it timely and fix the blocker. |
PR CP'd, @lakchote confirmed it's fixed on staging so marking NAB! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.73-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-05-22. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Issue is ready for payment but no BZ is assigned. @strepanier03 you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks! |
Payment Summary
BugZero Checklist (@strepanier03)
|
I hired your in Upwork @ShridharGoel, I'll check tomorrow to see if I can pay it out. @allroundexperts - I'll finish up the payment summary once the checklist is done, thanks! |
Checklist
|
Payment Summary
@JmillsExpensify - Payment request incoming. |
@ShridharGoel - Please accept the Upwork job so it can be paid? |
I am out of the office from June 3-10 - If you need BZ action in that time please reach out in Slack to ask for an assist. |
Contributor paid out. @allroundexperts going to close this issue and see you again when I receive the payment request. |
$250 approved for @allroundexperts |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.73-0
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-internal team
Action Performed:
Precondition:
Expected Result:
User will be able to save the tax amount as long as the tax amount falls within the limit of the new rate (Foreign currency default).
Actual Result:
When saving a valid tax amount, error shows up. The maximum rate amount in the error message still follows the previous tax rate (Workspace currency default). User will need to save 0 tax amount and return to Tax amount after saving to save the new tax amount.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6479175_1715595255890.foreign_tax.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: