[GNC] Including document paths in reports

Brook Milligan brook at nmsu.edu
Mon May 22 08:49:10 EDT 2023


> On May 21, 2023, at 9:16 PM, Vincent Dawans <dawansv at gmail.com> wrote:
> 
> Are you aware that the transaction report already has the option to display not the document path itself but a mark that there is a linked document? It just shows L to the left of the amount column when there is a document (with a link to it when you click on the L). If there isn't a document then it stays blank. It's the link checkbox on the display option to enable this.

Thanks for pointing that out.  I was not aware of what the “link” option did and had not tested it.

That would be good for seeing if a link is present, but not for checking that the links are correct.  I feel it would still be valuable for auditing purposes to be able to see the whole (or relative) path.

> Changing the code to replace the L with the actual document path is relatively easy but whether this change would make it to the actual official release I can't say. It's yet another option in an already long list of options. I can certainly propose the chance but can't guarantee it would be accepted.

I can see two different use cases: (i) report link presence/absence (as now) and (ii) report link path.  Another option strikes me as not a big deal; there are already a number, which allows appropriate customization, so one more seems no big deal.

> The alternative would be to implement this in a custom report. I am happy to help with that but only if the current L / no L option is not enough, and only if you are comfortable installing a custom report. https://wiki.gnucash.org/wiki/Custom_Reports#Loading_Your_Report

In the short term, I’m fine with customized reports.  It might be a way to learn how to do that, which is something I’ve looked at but not figured out.  However, this does seem like a valuable feature to add.

Cheers,
Brook



More information about the gnucash-user mailing list