Closed nils-werner closed 2 years ago
Agreed, it should be ignored. However, there's no safe way aa_class can automatically infer this. Hence, this is done via configuration. Have you tried to configure the plugin, and if so, I'd be interested if you ran into issues.
It would be good for the example to exclude Assets:US:Hooli:Vacation
in its configuration regex to illustrate this case. PR welcome.
Can't the plugin simply ignore commodities that don't have an asset class configured?
It could, but that would risk ignoring assets where one has simply forgotten to configure the asset class. Everything would seem fine, and there's no way to tell that the result being shown is incorrect.
I've run into this enough myself and decided explicit is better than implicit.
Closing. Feel free to open if there are further thoughts.
I have an issue with my vacation hours
VACHR
commodity andfava_investor
: Whenever I have a positive balance of vacation hours, aa_class stops working with the messageSteps to reproduce:
huge-example.beancount
to produce a positive balanceaa_class
moduleI would expect fava_investor to completely ignore this commodity, as it holds no monetary value.