From 0c3f460e9fa5c3c354ff5fed64ea781b260ebff7 Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Thu, 8 Aug 2019 23:10:12 +0800 Subject: [PATCH] [invoice] deprecate easy/fancy-invoice creation hooks --- gnucash/report/business-reports/invoice.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnucash/report/business-reports/invoice.scm b/gnucash/report/business-reports/invoice.scm index b5c9e3f32b..3bfe1a21b2 100644 --- a/gnucash/report/business-reports/invoice.scm +++ b/gnucash/report/business-reports/invoice.scm @@ -930,6 +930,8 @@ for styling the invoice. Please see the exported report for the CSS class names. 'in-menu? #t) (define (gnc:easy-invoice-report-create-internal invoice) + (issue-deprecation-warning + "gnc:easy-invoice-report-create-internal is unused") (let* ((options (gnc:make-report-options easy-invoice-guid)) (invoice-op (gnc:lookup-option options gnc:pagename-general gnc:optname-invoice-number))) (gnc:option-set-value invoice-op invoice) @@ -937,6 +939,8 @@ for styling the invoice. Please see the exported report for the CSS class names. (export gnc:easy-invoice-report-create-internal) (define (gnc:fancy-invoice-report-create-internal invoice) + (issue-deprecation-warning + "gnc:fancy-invoice-report-create-internal is unused") (let* ((options (gnc:make-report-options fancy-invoice-guid)) (invoice-op (gnc:lookup-option options gnc:pagename-general gnc:optname-invoice-number))) (gnc:option-set-value invoice-op invoice)