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

operating_currency 配置多个货币的时候,本项目只支持读取到第一个, #62

Open
tdlrobin opened this issue Nov 16, 2023 · 7 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@tdlrobin
Copy link

比如我有CNY,USD, HKD 多个货币的时候,如果我只是USD到USD货币,系统也会强制要我去发生CNY主货币的转换,首先会发生错误,然后也不符合逻辑,完全错误的处理。

@BaoXuebin
Copy link
Owner

这里确实考虑不足,多币种最初是按投资的逻辑设计的。

@BaoXuebin BaoXuebin added the bug Something isn't working label Nov 16, 2023
@BaoXuebin
Copy link
Owner

v1.1.14 已经对多币种进行了优化,感谢建议

@mars704
Copy link

mars704 commented Apr 9, 2024

似乎 v1.1.15版本还未解决这个问题,如果我的支出项目是多币种的,还是会出现币值转换的选项,如果不填记录可以生成,但是格式不对,无法正常显示。
SCR-20240409-mgcv

@BaoXuebin
Copy link
Owner

这里工作餐这个账户的货币单位是 MYR 吗?

CNY,MYR 这个看起来不是一个常规的货币符号。

货币转换出现的逻辑是 账户的货币和账本货币不一致,例如你这里 工作餐 的账户指定为货币为 CNY,MYR,账本默认货币为 CNY,就会出现货币转换。

@mars704
Copy link

mars704 commented Apr 10, 2024

工作餐这个账户的货币单位是:CNY,MYR
我是期望账户的货币单位也是可定制的。能否前台有个配置选项,默认 CNY,如账户多币种,可以手动切换?

@BaoXuebin
Copy link
Owner

@mars704 重新看了下文档,才发现账户可以指定多个货币(用逗号分割),这个建议可以考虑。

https://beancount.github.io/docs/beancount_language_syntax.html#accounts
image

@BaoXuebin BaoXuebin added the enhancement New feature or request label Apr 10, 2024
@mars704
Copy link

mars704 commented Apr 11, 2024

好的,期待更新!

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

No branches or pull requests

3 participants