Skip to content

[$250] Expense- RBR gets shown for advanced approval enabled expense if default currency is changed #48328

@IuliiaHerets

Description

@IuliiaHerets

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: 9.0.26-4
Reproducible in staging?: Y
Reproducible in production?: Y
Issue was found when executing this PR: #47926
Email or phone of affected tester (no customers): Owner: applausetester+nl518@applause.expensifail.com
Submitter: applausetester+nl520@applause.expensifail.com
Issue reported by: Applause Internal Team

Action Performed:

Pre-condition: Default workspace currency should be other currency than USD.

  1. Navigate to Old Dot (staging.expensify.com/inbox)
  2. Sign up with a new account
  3. Create a control workspace
  4. Enable workspace chat for new dot by running the code below inside the console.
    p = Policy.getCurrent();
    p.policy.isPolicyExpenseChatEnabled = "true";
    p.save();
  5. Go to reports and change the default currency to USD
  6. Go to members and enable advanced approvals
  7. Invite a member as an employee and make it submit to the owner
  8. Invite another member as an employee but make it submit to the member invited on step 7
  9. Navigate to New Dot (staging.new.expensify.com)
  10. Sign in as the member (submitter) invited on step 8.
  11. Go to workspace chat and submit a manual expense

Expected Result:

The submitted expense doesn't show any errors or RBR

Actual Result:

RBR is shown on the expense preview component, on the LHN and there is an error inside the expense report.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6587703_1725018593906.bandicam_2024-08-30_14-32-20-637.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01510356bd8e22c968
  • Upwork Job ID: 1829578766264533133
  • Last Price Increase: 2024-09-06
  • Automatic offers:
    • akinwale | Reviewer | 103886034

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions