Thank you for the examples, so basically the built in plugin isn't directly editing the beancount file.
On Sunday, August 2, 2020 at 4:47:40 PM UTC+7, Martin Michlmayr wrote: > > * Martin Michlmayr <t...@cyrius.com <javascript:>> [2020-08-02 17:40]: > > You add the following line to your .beancount file to activate the > > plugin: > > > > plugin "beancount.plugins.implicit_prices" > > > > That's it. When you add this plugin, price info via @ and @@ will > > generate price entries. > > Full example. Put this in test.beancount: > > ;--------------------- > plugin "beancount.plugins.implicit_prices" > > 2000-01-01 open Assets:Bank > 2000-01-01 open Expenses:Snacks > > 2020-08-02 * "Bought chocolate" > Expenses:Snacks 1.00 EUR @ 0.90 GBP > Assets:Bank -0.90 GBP > ;--------------------- > > Now run: > > bean-report test.beancount print | grep price > > This will show: > > 2020-08-02 price EUR 0.90 GBP > > This was generated by the implicit_prices plugin. > -- > Martin Michlmayr > https://www.cyrius.com/ > -- 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 beancount+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/560b2b6f-56b2-4b7a-a461-a6d3e73bf765o%40googlegroups.com.