Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Alan Hawrylyshen
    @muonzoo
    Account     Units  Currency  Cost Currency  Average Cost  Price  Book Value  Market Value
    ----------  -----  --------  -------------  ------------  -----  ----------  ------------
    Assets:Aaa   1.00       AAA            BBB          2.00   2.00        2.00          2.00
    ----------  -----  --------  -------------  ------------  -----  ----------  ------------
    Why? Because the auto plugin added a price from the purchase. (Here what bean-report /tmp/t2.bean print has to say about it.)
    This is the directive stream that bean count ‘saw’
    2022-01-01 open Assets:Aaa
    2022-01-01 open Equity:Eee
    
    2022-01-01 price AAA                                     3 CCC
    
    2022-01-01 * 
      Assets:Aaa   1 AAA {2 BBB, 2022-01-01}
      Equity:Eee  -2 BBB
    
    2022-01-01 price AAA                                     2 BBB
      __implicit_prices__: "from_cost"
    Now there is pricing data so it can report on the market value in the commodity pair used to buy the inventory lot.
    sm
    @simonmic:matrix.org
    [m]
    yes, I'm not doing anything realistic here - was just trying to write a doc showing cost/valuation in all 3 apps, IIRC
    using vanilla beancount
    I did try staggering the dates, it didn't seem to make a difference. Just curious, I saw that it worked for you
    that's a good point about the room name possibly coming from owner/repo, I never thought of that
    who would be the room admin / fava maintainer ? can't quite tell from the matrix side..
    ah @yagebu I think. Hi Jakob, could you clarify - is this room intended for both beancount and fava, or mainly fava ?
    Alan Hawrylyshen
    @muonzoo
    You can use the examples above and the holdings report to likely get what you need / want from bean count. Honestly I rarely use the bean-report function other than print and frequently write my own BeanSQL queries (and keep them in my ledger) for reporting / taxes/ etc.
    And 99% of the time; I just use Fava with time-filtering and one of the cost/value/currency choices for the reporting
    sm
    @simonmic:matrix.org
    [m]
    so... basically all bean counters mainly use fava ? plus a bit of beansql for custom reports ?
    gary
    @garyp:matrix.org
    [m]
    I can't speak for all beancount users. But whenever someone has a reporting-related question on the beancount mailing list, the recommended solution is usually a BQL query.
    sm
    @simonmic:matrix.org
    [m]
    what's the ux for that then ?
    gary
    @garyp:matrix.org
    [m]
    A bean-query CLI command, like the example that tario posted above.
    sm
    @simonmic:matrix.org
    [m]
    i'm in no way attached to bean-report. I literally can't figure out the beancount cli story
    I see, thanks
    gary
    @garyp:matrix.org
    [m]
    Fava also allows running arbitrary BQL queries and prints the results in a table within the fava UI.
    sm
    @simonmic:matrix.org
    [m]
    nice
    gary
    @garyp:matrix.org
    [m]
    And you can add frequently-used queries to your beancount ledger and give them a name. Then you can execute the query by name instead of always copy & pasting the BQL.
    Though I find the ability to name your queries of limited use in practice because there's no support for parameterizing the query. For example, usually I want to run the query over a parameterized set of dates. But the named queries still have their uses.
    sm
    @simonmic:matrix.org
    [m]
    good info, thanks
    I feel a guide to beancount for h/ledger users would be quite useful, but I'm not sure it exists
    or even some command examples on https://plaintextaccounting.org/quickref/
    gary
    @garyp:matrix.org
    [m]
    sm: I agree that a comparison of frequently used commands / how to accomplish common tasks with each ledger-like would be very valuable on that page.
    Dan Nemenyi
    @danielnemenyi
    Hi everyone, is there a recommended way to publish a Fava site online as a read-only document? I guess specifically without any editing or import options?
    Alan Hawrylyshen
    @muonzoo
    Given that it is an application this would almost certainly be a container hosting of some sort and just make the underlying file readonly?
    For me the challenge has been ensuring that the fava and underlying bean count in the container has all the plugins that I setup in my local beancount environment.
    Alan Hawrylyshen
    @muonzoo
    One way to work around that might be to run bean-report file.beancount print in your local env and feed that to the fava container which (in theory) would no longer require any plugins to operate.
    tario
    @patrick:matrix.tario.org
    [m]
    I'm just building a docker container with all the plugins I need, if you already have a base container it should more or less boil down to a pip install of the additional plugins
    that's the repo I'm using: https://github.com/tarioch/docker-fava
    the ghostscript and mesa stuff is only for some plugins which parse pdf files
    (importers)
    Dan Nemenyi
    @danielnemenyi
    Many thanks!
    yusf
    @yusf:gottsnack.net
    [m]
    Any idea why some numbers are rendered as low res bitmaps when printing to PDF? 🖨️ 📄
    Seems like a Firefox issue. macOS Safari renders it correctly.
    yusf
    @yusf:gottsnack.net
    [m]
    Any idea why all the Fava plugins renders like this for me?
    3 replies
    yusf
    @yusf:gottsnack.net
    [m]
    Btw big thanks to the fine people developing Fava, enabling me to lean into PTA ❤️
    yusf
    @yusf:gottsnack.net
    [m]
    Gonna try it in a VM 🤷
    yusf
    @yusf:gottsnack.net
    [m]
    Seems like I used a bad fava package (brew)
    yusf
    @yusf:gottsnack.net
    [m]
    Is there a way to modify CORS settings for the Fava server?
    Jakob Schnitzer
    @yagebu
    You can either use a WSGI middleware to add the necessary headers to the Fava WSGI app and then run that. Or have your reverse proxy add the headers.
    Red S
    @redstreet
    With FavaLedger.entries being deprecated, what is the best way to access a commodity's metadata (found in its commodity declaration)? This is not guaranteed to be available in the filtered context since the commodity declaration may be outside the currently selected date interval.
    2 replies
    grostim
    @grostim
    image.png
    Hi guys.
    I have an issue with the number of decimal displayed in fava
    I guess it is my fault, but i can't find why i have this display. How could i diplay only two decimal digits ?
    yusf
    @yusf:gottsnack.net
    [m]

    I've an issue with Fava and documents. Uploads via Journal works fine and are added to the transaction with document: "2022-10-14 receipt.pdf". This document can't however be accessed in the Documents view, it's simply not represented there.

    When clicking on the journal line of the document, I get redirected to http://localhost:5000/ledger/statement/?entry_hash=e5e307e9c11a5e04aef973f3620c9e83&key=document which simply says

    Statement not found.

    I can add documents to the Documents view, but not through uploading, only manually: 2022-07-13 document [account] [path]

    Is something broken or am I missing something here? What's the difference between statements and documents in Fava?

    HazelAxe
    @HazelAxe
    hey guys I'm new to this so quick question:why I cant get fava to run this?the error is Error: Invalid value for '[FILENAMES]...': File 'moneybook.bean' does not exist.
    4 replies