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

升级1.21后会在price/prices.bean文件里面记录同一天的多笔汇率记录,系统报错,在记账的时候无法删除汇率记录 #95

Open
sanq88 opened this issue Dec 19, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@sanq88
Copy link

sanq88 commented Dec 19, 2024

month/2024-12.bean:116: No position matches "Posting(account='Assets:Flow:Cash:现金', units=-20.00 MYR, cost=CostSpec(number_per=Decimal('1.645'), number_total=None, currency='CNY', date=None, label=None, merge=False), price=None, flag=None, meta={'filename': 'month/2024-12.bean', 'lineno': 117})" against balance (143.75 MYR, 300.00 CNY)

2024-12-18 * "小贩" "买水果,夜市"
Assets:Flow:Cash:现金 -20.00 MYR {1.645 CNY}
Expenses:Life:Food:Fruit:水果 20.00 MYR {1.645 CNY}

month/2024-12.bean:120: Not enough lots to reduce "-200.00 MYR {1.645 CNY}": 34.00 MYR {1.645 CNY, 2024-12-10}

2024-12-18 * "XX" "XX费"
Assets:Flow:Bank:BOC -200.00 MYR {1.645 CNY}
Expenses:Learning:Study 200.00 MYR {1.645 CNY}

@BaoXuebin BaoXuebin added the bug Something isn't working label Dec 20, 2024
@BaoXuebin
Copy link
Owner

你好,我本地未能复现这个问题。

我创建了一个空白账单,https://beancount.xdbin.com/web/#/ledger ISSUE#95

你是否能在这个账本上面还原下账目信息,以便我这边复现问题。

@sanq88
Copy link
Author

sanq88 commented Jan 15, 2025 via email

@BaoXuebin
Copy link
Owner

无密码,直接进入就行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants