[income-gst-statement] deprecate file-name argument in renderer

pull/768/head
Christopher Lam 6 years ago
parent fee142b27a
commit e84b404b74

@ -82,8 +82,11 @@ accounts may be tagged with *EUGOODS* in the account description."))
#:custom-calculated-cells gst-calculated-cells
#:custom-source-accounts sales-purch-accounts
#:custom-split-filter gst-custom-split-filter
#:export-type export-type
#:filename file-name))
#:export-type export-type))
(when file-name
(issue-deprecation-warning "gst-statement-renderer filename is \
obsolete, and not supported for exports. please set html-document \
export-string instead. this warning will be removed in GnuCash 5.0"))
(when (null? (opt-val "Accounts" "Tax Accounts"))
(gnc:html-document-add-object! document TAX-SETUP-DESC))
document)

Loading…
Cancel
Save