New issue 238: CONVERT() silently accepts invalid commodity
https://bitbucket.org/blais/beancount/issues/238/convert-silently-accepts-invalid-commodity

Martin Michlmayr:

I think CONVERT() should produce an error when the commodity passed has no 
valid pricedb entry.  Currently it simply accepts it and performs no conversion.

```
beancount> select date, position, convert(position, "XX"), balance where 
account ~ 'Expenses'
   date    position  convert_p  balance 
---------- --------- --------- ---------
2014-01-09 10.00 EUR 10.00 EUR 10.00 EUR
2014-06-10 10.00 EUR 10.00 EUR 20.00 EUR
2014-07-30 10.00 EUR 10.00 EUR 30.00 EUR
```


-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/20180315122039.19631.69944%40celery-worker-106.ash1.bb-inf.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to