Business/Company additional data

John Ralls jralls at ceridwen.us
Sun Mar 8 19:07:40 EDT 2015


> On Mar 9, 2015, at 3:46 AM, Fabio Coatti <fabio.coatti at gmail.com> wrote:
> 
> Hi All,
> In Business setup, I need to add some fields for company (namely, a second email 
> address and a second company ID). 
> I guess I can simply work on custom reports(invoices) and insert some static field in 
> it, but this is not the best solution if you have to manage more than one company or 
> something.
> 
> So I looked at involved files and if I'm not wrong the places where those fields are 
> used are in scm/gnucash/app-utils.scm and scm/business-prefs.scm, so I added a 
> gnc:*company-email2* and gnc:*company-id2* to that files, and of course to the 
> report .scm files required to create the printed invoice.
> 
> That works as expected, but now I wonder if there is a way to keep the modified files 
> safe in case of upgrade. I.e. for reports you can place your stuff in ~/.gnucash or 
> whatever dir you like, but is it possible to do the same for other .scm files, like the 
> app-utils.scm or business-prefs.scm?
> 
> Many thanks for any answer.

Not at present, but it seems that you could probably add that capability. That's another way of saying "Patches welcome".

You could also save copies of your modified files somewhere away from GnuCash and just copy them in each time you upgrade.

Regards,
John Ralls




More information about the gnucash-user mailing list