[GNC] Any reason reports are not stored in gnucash file ?

Sherlock sh025622 at gmail.com
Mon Oct 13 20:12:01 EDT 2025


On 10/13/25 4:13 PM, Stan Brown (using GC 4.14) wrote:
> 
> On 2025-10-13 12:03, Brook Milligan via gnucash-user wrote:
>>> On Oct 13, 2025, at 10:43, John Ralls <jralls at ceridwen.us> wrote:
>>> The original idea was by storing the saved report configs
>>> separately they could be applied to more than one book as long
>>> as the account names were either not customized or  the same
>>> in both books. We broke the latter half of that assumption in
>>> 3.x by using the account guids instead of names because users
>>> complained that the saved configs broke when they changed an
>>> account name.
> 
>> This suggests that there is no benefit to storing report configs
>> separately, right?>
>> What is required to store them in each book?  Does an export/import
>> config option make sense for transferring them between books?
> 
> Rather than store them in the book (main data file), why not in the GCM
> file, which already holds configurations of registers, the general
> journal, and the Accounts tab? That information is already on a per-book
> basis, one GCM file per book file. And then there would be no collision
> with the data file's present auto-save logic.
> 
> Or the saved report configurations could be stored in a {book}.reports
> file in the books directory. Then import and export would require no
> code at all; the user would simply copy {book1.reports} to {book2}.reports.
> 
> Stan Brown
> Tehachapi, CA, USA
> https://BrownMath.com/
> _______________________________________________

I'd favor keeping the saved report configuration out of the GCM files 
but I agree they should be per book like the GCM files.

Regards,

Sherlock




More information about the gnucash-user mailing list