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

Taxes - Error shows up when disabling tax rate #38866

Closed
6 tasks done
kbecciv opened this issue Mar 23, 2024 · 6 comments
Closed
6 tasks done

Taxes - Error shows up when disabling tax rate #38866

kbecciv opened this issue Mar 23, 2024 · 6 comments
Assignees

Comments

@kbecciv
Copy link

kbecciv commented Mar 23, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 1.4.56-0
Reproducible in staging?: y
Reproducible in production?: n
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

Precondition:

  • User is admin of Collect workspace.
  • Tax settings (Tax custom name, default taxes) are blank.
  1. Go to staging.new.expensify.com.
  2. Go to Profile > Workspaces > Collect workspace.
  3. Go to Taxes.
  4. Add a tax rate
  5. Click on the tax rate.
  6. Toggle off Enable rate.

Expected Result:

The rate is disabled without issue.

Actual Result:

Error shows up when disabling tax rate.

Workaround:

n/a

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6423409_1711127031057.20240323_010001.mp4

View all open jobs on GitHub

@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Mar 23, 2024
Copy link
Contributor

👋 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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

Copy link

melvin-bot bot commented Mar 23, 2024

Triggered auto assignment to @Gonals (Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@kbecciv
Copy link
Author

kbecciv commented Mar 23, 2024

We think that this bug might be related to #wave-control

@nexarvo
Copy link
Contributor

nexarvo commented Mar 23, 2024

Seems like backend does not allow disabling tax when there is no default tax.
Screenshot 2024-03-23 at 8 43 41 PM
This API is working fine when we have a default tax available.

@Gonals
Copy link
Contributor

Gonals commented Mar 25, 2024

Taking a look at this

@Gonals
Copy link
Contributor

Gonals commented Mar 25, 2024

I think this is fine. We should not be able to remove the tax if there is no default, and, in the current flow, we create a default when enabling taxes, so I think we are fine.

@Gonals Gonals removed the DeployBlockerCash This issue or pull request should block deployment label Mar 25, 2024
@Gonals Gonals closed this as completed Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Archived in project
Development

No branches or pull requests

3 participants