Steps:
  1. Create a new budget with CAD as default and only currency
  2. Create 2 new accounts
2.1 Account A with $1000
2.2 Account B with $0
  1. Execute this step using Lunchable (https://juftin.com/lunchable/)
3.1 Create 2 "TransactionInsertObject"
tx1 = TransactionInsertObject(
date=datetime.date(2024, 1, 21),
amount=-11654.19,
category_id=852747,
payee="Transfer",
currency=“cad”,
asset_id=102420,
notes=“Transfer”,
)
tx2 = TransactionInsertObject(
date=datetime.date(2024, 1, 21),
amount=8507.56,
category_id=852747,
payee="Transfer",
currency=“usd”,
asset_id=102421,
notes=“Transfer”,
)
3.2 Insert both using "lunch.insert_transactions(transactions=[tx1,tx2], debit_as_negative=True)"
3.3 Insert a group transaction using
"""
lunch.insert_transaction_group(
date=datetime.date(2024, 1, 21),
payee="Transfer",
transactions=[tx1_id, tx2_id],
category_id=852781
)
"""
  1. In "Settings", add "USD" as supported currency and save
  2. Go to the list of accounts in "Setup"
5.1 Account B must display a balance of $11654.19
5.2 Change the currency type of Account B to USD
5.3 Account B shows US$11,654.19 and converted below $15.809.67
Expected behavior:
I believe it should show US$8507.56