gnucash master: Break circular dependency between owner-report.scm and reports.scm

Geert Janssens gjanssens at code.gnucash.org
Mon Aug 26 12:53:11 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/d7e66f96 (commit)
	from  https://github.com/Gnucash/gnucash/commit/1fc83100 (commit)



commit d7e66f964933cbb47690b6c9c98cd8e4fc66730d
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Mon Aug 26 18:50:33 2019 +0200

    Break circular dependency between owner-report.scm and reports.scm
    
    That is:
    * move the account lookup from report.scm to owner-report.scm so
    there's no need any more to call into reports.scm from within owner-report.scm
    * fix the cmake dependency tree to reflect the new changes:
    only customer-overview depends directly on code in reports.scm
    All other reports don't. reports.scm however does depend on three
    standard reports. So:
    standard-reports <- reports <- customer-overview



Summary of changes:
 gnucash/report/reports/CMakeLists.txt            | 45 +++++++++++++++---------
 gnucash/report/reports/reports.scm               |  5 +--
 gnucash/report/reports/standard/owner-report.scm | 10 +++---
 3 files changed, 35 insertions(+), 25 deletions(-)



More information about the gnucash-patches mailing list